Delete the Cluster

Delete the Kubernetes cluster and/or the bootstrap cluster

Delete the Kubernetes cluster

If you have a need to remove the Kubernetes cluster, such as for environment cleanup, use this command:

  1. Delete the provisioned Kubernetes cluster with the command:

    dkp delete cluster --cluster-name=${CLUSTER_NAME}

    This command may take a few minutes to complete:

Delete the Kubernetes cluster and cleanup your environment

After you have moved the workload resources back to a bootstrap cluster and deleted the workload cluster, you no longer need the bootstrap cluster. You can safely delete the bootstrap cluster with this command:

  1. Delete the kind Kubernetes cluster:

    dkp delete bootstrap