Browse Source

Remove Storage Cluster from Virtual Site Deployments

This PS deletes the rook-ceph storage cluster deployements
from both the test-site and virtual-cloud-site.

Closes: #153
Change-Id: I53490ff2191a3557695701d804964eb1ee9e1115
changes/54/794454/7
Sirisha Gopigiri 2 weeks ago
parent
commit
ae09301277
6 changed files with 126 additions and 0 deletions
  1. +7
    -0
      manifests/site/test-site/target/workload/kustomization.yaml
  2. +41
    -0
      manifests/site/test-site/target/workload/patch-delete-storage-cluster.yaml
  3. +15
    -0
      manifests/site/test-site/target/workload/patch-deploy-false-storage-cluster.yaml
  4. +7
    -0
      manifests/site/virtual-network-cloud/target/workload/kustomization.yaml
  5. +41
    -0
      manifests/site/virtual-network-cloud/target/workload/patch-delete-storage-cluster.yaml
  6. +15
    -0
      manifests/site/virtual-network-cloud/target/workload/patch-deploy-false-storage-cluster.yaml

+ 7
- 0
manifests/site/test-site/target/workload/kustomization.yaml View File

@ -4,3 +4,10 @@ resources:
transformers:
- ./replacements
- ../../../../type/airship-core/target/workload/replacements
# Removing rook-ceph storage cluster from test-site as the
# zuul gates seems to be failing often with timeout issues
# Comment the below patch files if you want to deploy
# storage cluster as part of test-site workload
patches:
- patch-delete-storage-cluster.yaml
- patch-deploy-false-storage-cluster.yaml

+ 41
- 0
manifests/site/test-site/target/workload/patch-delete-storage-cluster.yaml View File

@ -0,0 +1,41 @@
---
apiVersion: ceph.rook.io/v1
kind: CephFilesystem
metadata:
name: cephfs
namespace: rook-ceph
$patch: delete
---
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
name: rbd-pool
namespace: rook-ceph
$patch: delete
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: block-storage-sc
$patch: delete
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: cephfs-storage-sc
$patch: delete
---
apiVersion: v1
kind: ConfigMap
metadata:
name: rook-config-override
namespace: rook-ceph
$patch: delete
---
apiVersion: v1
kind: Service
metadata:
name: rook-ceph-mgr-dashboard
namespace: rook-ceph
$patch: delete
---

+ 15
- 0
manifests/site/test-site/target/workload/patch-deploy-false-storage-cluster.yaml View File

@ -0,0 +1,15 @@
apiVersion: ceph.rook.io/v1
kind: CephCluster
metadata:
name: ceph
namespace: rook-ceph
labels:
airshipit.org/deploy-k8s: "false"
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
airshipit.org/deploy-k8s: "false"
name: rook-ceph-tools
namespace: rook-ceph

+ 7
- 0
manifests/site/virtual-network-cloud/target/workload/kustomization.yaml View File

@ -3,3 +3,10 @@ resources:
- ../catalogues
transformers:
- ../../../../type/multi-tenant/target/workload/replacements
# Removing rook-ceph storage cluster from test-site as the
# zuul gates seems to be failing often with timeout issues
# Comment the below patch files if you want to deploy
# storage cluster as part of test-site workload
patches:
- patch-delete-storage-cluster.yaml
- patch-deploy-false-storage-cluster.yaml

+ 41
- 0
manifests/site/virtual-network-cloud/target/workload/patch-delete-storage-cluster.yaml View File

@ -0,0 +1,41 @@
---
apiVersion: ceph.rook.io/v1
kind: CephFilesystem
metadata:
name: cephfs
namespace: rook-ceph
$patch: delete
---
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
name: rbd-pool
namespace: rook-ceph
$patch: delete
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: block-storage-sc
$patch: delete
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: cephfs-storage-sc
$patch: delete
---
apiVersion: v1
kind: ConfigMap
metadata:
name: rook-config-override
namespace: rook-ceph
$patch: delete
---
apiVersion: v1
kind: Service
metadata:
name: rook-ceph-mgr-dashboard
namespace: rook-ceph
$patch: delete
---

+ 15
- 0
manifests/site/virtual-network-cloud/target/workload/patch-deploy-false-storage-cluster.yaml View File

@ -0,0 +1,15 @@
apiVersion: ceph.rook.io/v1
kind: CephCluster
metadata:
name: ceph
namespace: rook-ceph
labels:
airshipit.org/deploy-k8s: "false"
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
airshipit.org/deploy-k8s: "false"
name: rook-ceph-tools
namespace: rook-ceph

Loading…
Cancel
Save