fuckeduppdp/k8s/pod-tmp.yaml

18 lines
301 B
YAML
Raw Normal View History

2023-10-26 01:25:51 +00:00
apiVersion: v1
kind: Pod
metadata:
name: pdp-tmp
spec:
volumes:
- name: disk
persistentVolumeClaim:
claimName: pdp-disk
containers:
- name: pdp
image: alpine
command: ["sleep", "infinity"]
volumeMounts:
- name: disk
mountPath: /mnt
restartPolicy: Never