mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
Make deployment artifacts with a consistent name pattern.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
0a4b2b713a
commit
822cab8ed0
@ -147,7 +147,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
storageClassName: csi-rbd
|
storageClassName: csi-rbd-sc
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a POD that uses this PVC:
|
Create a POD that uses this PVC:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: csicephfs-demo-depl
|
name: csi-cephfs-demo-depl
|
||||||
labels:
|
labels:
|
||||||
app: web-server
|
app: web-server
|
||||||
spec:
|
spec:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: csicephfs-demo-pod
|
name: csi-cephfs-demo-pod
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
|
@ -9,4 +9,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 5Gi
|
storage: 5Gi
|
||||||
storageClassName: csi-cephfs
|
storageClassName: csi-cephfs-sc
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-cephfs
|
name: csi-cephfs-sc
|
||||||
provisioner: cephfs.csi.ceph.com
|
provisioner: cephfs.csi.ceph.com
|
||||||
parameters:
|
parameters:
|
||||||
# Comma separated list of Ceph monitors
|
# Comma separated list of Ceph monitors
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: csirbd-restore-demo-pod
|
name: csi-rbd-restore-demo-pod
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: csirbd-demo-pod
|
name: csi-rbd-demo-pod
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
|
@ -4,7 +4,7 @@ kind: PersistentVolumeClaim
|
|||||||
metadata:
|
metadata:
|
||||||
name: rbd-pvc-restore
|
name: rbd-pvc-restore
|
||||||
spec:
|
spec:
|
||||||
storageClassName: csi-rbd
|
storageClassName: csi-rbd-sc
|
||||||
dataSource:
|
dataSource:
|
||||||
name: rbd-pvc-snapshot
|
name: rbd-pvc-snapshot
|
||||||
kind: VolumeSnapshot
|
kind: VolumeSnapshot
|
||||||
|
@ -9,4 +9,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
storageClassName: csi-rbd
|
storageClassName: csi-rbd-sc
|
||||||
|
@ -10,4 +10,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
storageClassName: csi-rbd
|
storageClassName: csi-rbd-sc
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-rbd
|
name: csi-rbd-sc
|
||||||
provisioner: rbd.csi.ceph.com
|
provisioner: rbd.csi.ceph.com
|
||||||
parameters:
|
parameters:
|
||||||
# Comma separated list of Ceph monitors
|
# Comma separated list of Ceph monitors
|
||||||
|
Loading…
Reference in New Issue
Block a user