clank-postgres-storage/templates/pod.yaml

20 lines
401 B
YAML
Raw Normal View History

2023-04-06 01:47:08 +02:00
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