1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: ipfs
- spec:
- replicas: 1
- selector:
- matchLabels:
- name: ipfs
- template:
- metadata:
- labels:
- name: ipfs
- spec:
- containers:
- - name: ipfs
- image: ipfs/kubo:latest
- env:
- - name: IPFS_PROFILE
- value: "server"
- volumeMounts:
- # Persistent volume, for when files are downloaded.
- - name: ipfs
- mountPath: /export
- - name: staging
- mountPath: /data/ipfs
- ports:
- - containerPort: 4001
- name: quic
- - containerPort: 5001
- name: rpc
- - containerPort: 8080
- name: http
- resources:
- requests:
- memory: "1100Mi"
- cpu: "100m"
- volumes:
- - name: ipfs
- persistentVolumeClaim:
- claimName: ipfs
- - name: staging
- emptyDir:
- sizeLimit: 10Gi
|