forked from rook/rook
This commit adds example nfs storageclass, pvc and pod yamls. Signed-off-by: Rakshith R <rar@redhat.com>
18 lines
315 B
YAML
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
|