easykubectl

List all cluster names defined in the kubeconfig file

command

kubectl config get-clusters

Command breakdown

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

kubectlconfigget-clusters

Test your recall — not just your reading.

Practice with interactive quiz →