diff options
| author | Suren A. Chilingaryan <csa@suren.me> | 2025-12-09 16:14:26 +0000 |
|---|---|---|
| committer | Suren A. Chilingaryan <csa@suren.me> | 2025-12-09 16:14:26 +0000 |
| commit | 77aa9c433f9255d713394e3b25987fa2b4a03a1a (patch) | |
| tree | ddc5d87bf838bd589f36b43b53955ad8207796a2 /scripts/disaster/gluster_endpoints/remove_storageclasses.sh | |
| parent | d35216ee0cbf9f1a84a6d4151daf870b1ff00395 (diff) | |
| download | ands-77aa9c433f9255d713394e3b25987fa2b4a03a1a.tar.gz ands-77aa9c433f9255d713394e3b25987fa2b4a03a1a.tar.bz2 ands-77aa9c433f9255d713394e3b25987fa2b4a03a1a.tar.xz ands-77aa9c433f9255d713394e3b25987fa2b4a03a1a.zip | |
Diffstat (limited to 'scripts/disaster/gluster_endpoints/remove_storageclasses.sh')
| -rw-r--r-- | scripts/disaster/gluster_endpoints/remove_storageclasses.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/disaster/gluster_endpoints/remove_storageclasses.sh b/scripts/disaster/gluster_endpoints/remove_storageclasses.sh new file mode 100644 index 0000000..063650d --- /dev/null +++ b/scripts/disaster/gluster_endpoints/remove_storageclasses.sh @@ -0,0 +1,7 @@ +# Backups provided +oc delete sc glusterfs-storage +oc delete sc glusterfs-storage-block + +# It was a single replica +oc scale dc/glusterblock-storage-provisioner-dc -n glusterfs --replicas=0 +oc scale dc/heketi-storage -n glusterfs --replicas=0 |
