- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
92 lines
1.8 KiB
YAML
92 lines
1.8 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: firefly-ipfs
|
|
namespace: firefly
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: firefly-ipfs
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: firefly-ipfs
|
|
spec:
|
|
containers:
|
|
- name: ipfs
|
|
image: ipfs/kubo:v0.23.0
|
|
ports:
|
|
- containerPort: 4001
|
|
name: swarm
|
|
- containerPort: 5001
|
|
name: api
|
|
- containerPort: 8080
|
|
name: gateway
|
|
env:
|
|
- name: IPFS_PROFILE
|
|
value: server
|
|
volumeMounts:
|
|
- name: ipfs-data
|
|
mountPath: /data/ipfs
|
|
- name: ipfs-staging
|
|
mountPath: /data/staging
|
|
resources:
|
|
requests:
|
|
cpu: "500m"
|
|
memory: "1Gi"
|
|
limits:
|
|
cpu: "2"
|
|
memory: "4Gi"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /api/v0/version
|
|
port: 5001
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /api/v0/version
|
|
port: 5001
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 5
|
|
volumes:
|
|
- name: ipfs-data
|
|
persistentVolumeClaim:
|
|
claimName: firefly-ipfs-pvc
|
|
- name: ipfs-staging
|
|
emptyDir: {}
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: firefly-ipfs-pvc
|
|
namespace: firefly
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 100Gi
|
|
storageClassName: managed-premium
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: firefly-ipfs
|
|
namespace: firefly
|
|
spec:
|
|
selector:
|
|
app: firefly-ipfs
|
|
ports:
|
|
- port: 4001
|
|
targetPort: 4001
|
|
name: swarm
|
|
- port: 5001
|
|
targetPort: 5001
|
|
name: api
|
|
- port: 8080
|
|
targetPort: 8080
|
|
name: gateway
|
|
|