← All Kali Issues
Kubectl

Cannot connect

N Network High

🔴 Error Message

Connection to cluster refused or unauthorized

📖 What This Means

Kubeconfig missing or cluster unreachable.

🔧 Step-by-Step Fix

  1. Check config: kubectl config view
  2. Set context: kubectl config use-context CONTEXT
  3. Check cluster: kubectl cluster-info