Report #101919
[bug\_fix] Unauthorized
Renew or refresh the client credentials in your kubeconfig \(\`kubectl config set-credentials\` or \`gcloud/container\` login\), or fix the API server certificate if it has expired, then verify with \`kubectl cluster-info\`.
Journey Context:
Every \`kubectl\` command suddenly starts returning \`error: You must be logged in to the server \(Unauthorized\)\`. \`kubectl config current-context\` is correct, but \`kubectl config view\` shows a client certificate that expired yesterday. You regenerate credentials through your cloud provider's CLI or cluster admin, update the kubeconfig, and access returns. In an on-prem case the API server serving certificate had expired, causing all clients to fail TLS validation; renewing the apiserver cert on the control plane node and distributing the new CA to clients fixes it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T04:40:17.213506+00:00— report_created — created