Deleting a Kubeflow cluster
Overview
Kubeflow clusters created on Civo will remain in your account until you delete them. Clusters in your account are billed hourly based on their size, and count towards your account quota. If you no longer need a Kubeflow cluster, you can delete it in the following ways.
Cluster deletion is immediate and irreversible. Make sure you have retrieved any data you may need from your Kubeflow instance and any notebooks before deleting it.
- Dashboard
- Civo CLI
Deleting a Kubeflow cluster from the Dashboard
You can delete a Kubeflow cluster from its dashboard page by clicking the "Delete" button on the top right of the page, also shown below:
Alternatively, you can delete a Kubeflow cluster from the listing view by clicking the "Actions" menu and selecting the "Delete" option, shown below:
As a precaution, the system will ask you to confirm the name of the cluster you are looking to delete.
When you confirm the cluster name, the system will proceed to delete the cluster immediately.
Deleting a Kubeflow cluster using Civo CLI
Ensuring your current region is set to the one where the Kubeflow cluster is running, you can delete it using:
civo kfcluster delete cluster_name
By default, Civo CLI will confirm whether you want to proceed:
$ civo kfcluster delete demo-cluster
Warning: Are you sure you want to delete the demo-cluster Kubeflow cluster (y/N) ? y
The Kubernetes cluster (demo-cluster) has been deleted
For scripting use, you can add a -y
flag to Civo CLI commands which usually require confirmation. This will assume you will answer "yes" to any prompt.