Files
my-rook-config/deploy/examples/csi/nfs/pod.yaml
T
Rakshith R f1953314d4 csi: add nfs example yamls
This commit adds example nfs storageclass,
pvc and pod yamls.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-04-12 11:25:09 +05:30

18 lines
315 B
YAML

---
apiVersion: v1
kind: Pod
metadata:
name: csinfs-demo-pod
spec:
containers:
- name: web-server
image: nginx
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: nfs-pvc
readOnly: false