Disabling (and Removing) a Cluster Add-on
Find out how to disable (and remove) a cluster add-on using Kubernetes Engine (OKE).
You can disable a cluster add-on deployed on a cluster using the Console, the CLI, and the API. If you also want to remove the cluster add-on from the cluster, use the CLI or the API.
For specific instructions to disable (and remove):
- the Cluster Autoscaler add-on, see Disabling (and Removing) the Cluster Autoscaler Add-on
- the Istio add-on, see Disabling (and Removing) the Istio Add-on
- the OCI native ingress controller add-on, see Disabling (and Removing) the OCI Native Ingress Controller Add-on
- the Kubernetes Metrics Server add-on, see Disabling (and Removing) the Kubernetes Metrics Server Add-on
For more information about cluster add-ons, see Configuring Cluster Add-ons.
- Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Kubernetes Clusters (OKE).
- Select the compartment that contains the cluster.
- On the Clusters page, click the name of the cluster on which the cluster add-on is deployed.
- Under Resources, click Add-ons.
Detailed information about the enabled cluster add-ons deployed on the cluster is shown in tabular form.
- Click Manage add-ons, and then click the enabled cluster add-on that you want to disable.
- Clear the Enable <add-on name> option.
If you disable an essential cluster add-on, a warning indicates that you have taken responsibility for deploying and configuring an alternative add-on to provide equivalent functionality.
- Click Save changes.
The cluster add-on is disabled, but not removed from the cluster. To completely remove the add-on, use the CLI or the API.
Use the oci ce cluster disable-addon command and required parameters to disable (and optionally remove) a cluster-add-on deployed on a cluster:
oci ce cluster disable-addon --cluster-id <cluster-ocid> --addon-name <addon-name> --is-remove-existing-add-on <true|false> [OPTIONS]
For example:
oci ce cluster disable-addon --cluster-id ocid1.cluster.oc1.iad.aaaaaaaaaf______jrd --addon-name KubernetesDashboard --is-remove-existing-add-on true
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the DisableAddon operation to disable (and optionally remove) a cluster add-on deployed on a cluster.