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 1.30 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.
- 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
- Check if the add-on is enabled.
Example outputibmcloud ks cluster addon ls --cluster <cluster_name_or_ID>
Name Version Health State Health Status ibm-storage-operator 1.0.0 normal Addon Ready
- If the add-on is not enabled, enable it.
ibmcloud ks 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
.
-
Run the following command to disable the add-on.
ibmcloud ks 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).
-
If you no longer need the dependencies, remove them before continuing.
-
Disable the add-on.
ibmcloud ks cluster addon disable ibm-storage-operator -c CLUSTER