IBM Cloud Docs
Enabling the IBM Storage Operator cluster add-on

Enabling the IBM Storage Operator cluster add-on

The ibm-storage-operator cluster add-on manages several storage configmaps and resources in your cluster.

The ibm-storage-operator is installed by default in VPC clusters beginning with versions 4.15 and later and is a dependency of the IBM Cloud File Storage for VPC add-on.

The ibm-storage-operator cluster add-on is available in Beta.

  1. Update the container-service plug-in to the most recent version. You can update the plug-in by running the following command.
    ibmcloud update && ibmcloud plugin update container-service
    
  2. Check if the add-on is enabled.
    ibmcloud oc cluster addon ls --cluster <cluster_name_or_ID>
    
    Example output
    Name                   Version   Health State   Health Status   
    ibm-storage-operator    1.0.0     normal         Addon Ready
    
  3. If the add-on is not enabled, enable it.
    ibmcloud oc cluster addon enable ibm-storage-operator -c CLUSTER --version VERSION
    

Disabling the ibm-storage-operator add-on

Note that you can't disable the add-on if there are other add-ons are using the ibm-storage-operator.

  1. Run the following command to disable the add-on.

    ibmcloud oc cluster addon disable ibm-storage-operator -c CLUSTER
    

    Example output where dependencies are installed.

    Data and resources that you created for the add-on might be deleted when the add-on is disabled. Continue? [y/N]> y
    Disabling add-on ibm-storage-operator for cluster devcluster2...
    FAILED
    Unable to disable ibm-storage-operator because it is required by the vpc-file-csi-driver add-on(s).
    
  2. If you no longer need the dependencies, remove them before continuing.

  3. Disable the add-on.

    ibmcloud oc cluster addon disable ibm-storage-operator -c CLUSTER