clank-postgres-storage/templates/pod.yaml
2023-04-06 01:47:08 +02:00

20 lines
401 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: volume-test
namespace: default
spec:
containers:
- name: volume-test
image: nginx:stable-alpine
imagePullPolicy: IfNotPresent
volumeMounts:
- name: volv
mountPath: /data
ports:
- containerPort: 80
volumes:
- name: volv
persistentVolumeClaim:
claimName: clank-postgres-storage-pvc