mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
30 lines
624 B
YAML
30 lines
624 B
YAML
|
---
|
||
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: pod-fs-rx-volume
|
||
|
labels:
|
||
|
app: pod-fs-rx-volume
|
||
|
spec:
|
||
|
replicas: 3
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: pod-fs-rx-volume
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: pod-fs-rx-volume
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: web-server
|
||
|
image: docker.io/library/nginx:latest
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
volumeMounts:
|
||
|
- name: mypvc
|
||
|
mountPath: /var/lib/www/html
|
||
|
volumes:
|
||
|
- name: mypvc
|
||
|
persistentVolumeClaim:
|
||
|
claimName: rbd-pvc
|
||
|
readOnly: false
|