current-context: prod-context
where possible (e.g., via kubectl oidc-login or cloud provider plugins). Avoid static token fields.
This is the most important line for daily usage. It tells kubectl which context is currently active. If you run kubectl get pods , it will query the cluster defined in the current-context .
: Contains authentication credentials, such as client certificates, bearer tokens, or service account tokens.
Stores authentication credentials, such as client certificates, bearer tokens, or username/password combinations.