mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 05:20:19 +00:00
c137af57f3
Signed-off-by: Niels de Vos <ndevos@redhat.com>
18 lines
350 B
YAML
18 lines
350 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: csi-nfs-demo-rwop-pod
|
|
spec:
|
|
containers:
|
|
- name: web-server
|
|
image: docker.io/library/nginx:latest
|
|
volumeMounts:
|
|
- name: mypvc
|
|
mountPath: /var/lib/www
|
|
volumes:
|
|
- name: mypvc
|
|
persistentVolumeClaim:
|
|
claimName: csi-nfs-rwop-pvc
|
|
readOnly: false
|