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