Disabling (and Removing) a Cluster Add-on

Find out how to disable (and remove) a cluster add-on using Container Engine for Kubernetes (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):

For more information about cluster add-ons, see Configuring Cluster Add-ons.

    1. Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Kubernetes Clusters (OKE).
    2. Select the compartment that contains the cluster.
    3. On the Clusters page, click the name of the cluster on which the cluster add-on is deployed.
    4. Under Resources, click Add-ons.

      Detailed information about the enabled cluster add-ons deployed on the cluster is shown in tabular form.

    5. Click Manage add-ons, and then click the enabled cluster add-on that you want to disable.
    6. 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.

    7. 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.