hardkubectl

Remove a cluster entry from the kubeconfig file

command

kubectl config delete-cluster CLUSTER

also accepted

kubectl config delete-cluster

Command breakdown

Part of the Kubernetes CLI (kubectl) — Cluster & Context category.

kubectlconfigdelete-clusterCLUSTER

Test your recall — not just your reading.

Practice with interactive quiz →