Deleting an OKE Node Pool
Deleting a node pool permanently deletes the node pool. You cannot recover a deleted node pool.
Using the Compute Web UI
-
On the dashboard, click Containers / View Kubernetes Clusters (OKE).
-
Click the name of the cluster that contains the node pool that you want to delete.
-
On the cluster details page, scroll to the Resources section, and click Node Pools.
-
For the node pool that you want to delete, click the Actions menu, and click Delete.
-
Confirm the deletion.
-
Enter the name of the node pool to confirm that you want to delete the node pool.
-
Click the Delete button on the dialog.
-
Using the OCI CLI
-
Get the OCID of the node pool that you want to delete:
oci ce node-pool list
-
Run the delete node pool command.
Example:
$ oci ce node-pool delete --node-pool-id ocid1.nodepool.unique_ID --force