ceph-csi/examples/nfs/pod-clone.yaml

18 lines
348 B
YAML
Raw Permalink Normal View History

---
apiVersion: v1
kind: Pod
metadata:
name: csi-nfs-clone-demo-app
spec:
containers:
- name: web-server
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: nfs-pvc-clone
readOnly: false