Make deployment artifacts with a consistent name pattern.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2019-05-07 20:19:45 +05:30 committed by mergify[bot]
parent 0a4b2b713a
commit 822cab8ed0
11 changed files with 11 additions and 11 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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

View File

@ -9,4 +9,4 @@ spec:
resources: resources:
requests: requests:
storage: 5Gi storage: 5Gi
storageClassName: csi-cephfs storageClassName: csi-cephfs-sc

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -9,4 +9,4 @@ spec:
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi
storageClassName: csi-rbd storageClassName: csi-rbd-sc

View File

@ -10,4 +10,4 @@ spec:
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi
storageClassName: csi-rbd storageClassName: csi-rbd-sc

View File

@ -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