Shutting down a cluster

Before you begin the maintenance procedure, the IBM Storage Scale container native cluster must be shut down to avoid any issues.

For more information, see On the nodes running CSI sidecars in IBM Storage Scale CSI documentation.

Complete the following steps to shut down a cluster:

  1. Stop the running operator pod by setting the replicas in the deployment to 0.

    oc scale deployment ibm-spectrum-scale-controller-manager -n ibm-spectrum-scale-operator --replicas=0
    
  2. Enter the following command to remove the CSI label:

    oc label node --all scale-
    
  3. Enter the following command to delete the running core pods:

    oc delete pods -lapp.kubernetes.io/name=core -n ibm-spectrum-scale