Infrastructure
kubectl localhost:8080 refused: a 30-second diagnosis and recovery runbook
Fix kubectl's "connection to localhost:8080 was refused" error with a 30-second diagnostic table and copy-paste commands. Covers five cause families: kubeconfig path, KUBECONFIG, context, the sudo trap, and EKS/GKE locations.