Deleting an OKE Cluster

Deleting a cluster deletes the cluster control plane nodes, worker nodes, and node pools. Other cluster resources such as VCNs, internet gateways, NAT gateways, route tables, security lists, load balancers, and block volumes are not deleted when you delete the cluster. Those resources must be deleted separately.

Using the Compute Web UI

  1. On the dashboard, click Containers / View Kubernetes Clusters (OKE).

  2. For the cluster that you want to delete, click the Actions menu, and click Delete.

  3. Confirm that you want to delete the cluster.

    Enter the cluster name, and click the Delete button.

Using the OCI CLI

  1. Get the OCID of the cluster that you want to delete: oci ce cluster list

  2. Run the delete cluster command.

    Example:

    $ oci ce cluster delete --cluster-id ocid1.cluster.unique_ID --force