23 lines
442 B
YAML
23 lines
442 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: ipfs-pod
|
|
namespace: default
|
|
labels:
|
|
app.kubernetes.io/name: ipfs
|
|
spec:
|
|
containers:
|
|
- name: ipfs
|
|
image: ipfs/kubo
|
|
ports:
|
|
- containerPort: 5001
|
|
- containerPort: 8080
|
|
volumeMounts:
|
|
- name: ipfs-pvc
|
|
mountPath: /data/ipfs
|
|
restartPolicy: OnFailure
|
|
volumes:
|
|
- name: ipfs-pvc
|
|
persistentVolumeClaim:
|
|
claimName: ipfs-pvc
|