hardkubectl
Add or update a cluster entry in the kubeconfig with its API server URL
command
kubectl config set-cluster CLUSTER --server SERVERalso accepted
kubectl config set-clustercommand
kubectl config set-cluster CLUSTER --server SERVERalso accepted
kubectl config set-clusterPart of the Kubernetes CLI (kubectl) — Cluster & Context category.
| Flag | Purpose |
|---|---|
--server | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →