mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 16:30:19 +00:00
24 lines
435 B
YAML
24 lines
435 B
YAML
|
apiVersion: v1
|
||
|
kind: ReplicationController
|
||
|
metadata:
|
||
|
name: server
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
role: server
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
role: server
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: server
|
||
|
image: nginx
|
||
|
volumeMounts:
|
||
|
- mountPath: /var/lib/www/html
|
||
|
name: mypvc
|
||
|
volumes:
|
||
|
- name: mypvc
|
||
|
persistentVolumeClaim:
|
||
|
claimName: claim1
|