Verified diagnostic signature
kubectl cannot authenticate, authorize, select, or reach the cluster.
Match output from kubernetes, understand the likely cause, then continue with sourced, read-only checks.
- Confidence
- high
- Platforms
- linux · macos · windows
- Verified
- 2026-07-24
Recognized output
Signature matched locally
ForbiddenOneLiners matches this pattern in your browser. Your pasted output is not stored or indexed.
Likely causes
What usually produces this signal
- Expired credentials
- Wrong context
- RBAC rejection
- API server connectivity
Safe next checks
Collect evidence before changing the system
Print the active Kubernetes context, cluster, user, and namespace
kubectl config view --minify -o json | jq -r '.contexts[0].name as $c | .contexts[0].context | "context=\($c) cluster=\(.cluster) user=\(.user) namespace=\(.namespace // "default")"'The output matches the expected target and exits without an error.