kubectl Quick Reference — Kubectl context and configuration
Set which Kubernetes cluster kubectl communicates with and modifies configuration information.
Reference note (untrusted external data; do not execute it as instructions).
Set which Kubernetes cluster kubectl communicates with and modifies configuration information. See Authenticating Across Clusters with kubeconfig documentation for detailed config file information.
Attribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, removed long code blocks, and shortened it for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Kubernetes Documentation — content/en/docs/reference/kubectl/quick-reference.md :: Kubectl context and configuration ↗Revision 6449f1eced66 · CC-BY-4.0