mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
822cab8ed0
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
29 lines
552 B
YAML
29 lines
552 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: csi-cephfs-demo-depl
|
|
labels:
|
|
app: web-server
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: web-server
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: web-server
|
|
spec:
|
|
containers:
|
|
- name: web-server
|
|
image: nginx
|
|
volumeMounts:
|
|
- name: mypvc
|
|
mountPath: /var/lib/www/html
|
|
volumes:
|
|
- name: mypvc
|
|
persistentVolumeClaim:
|
|
claimName: csi-cephfs-pvc
|
|
readOnly: false
|