I created a second context in my local kind-cluster:
The first context works:
kubectl get pods
NAME READY STATUS RESTARTS AGE
dashboard-kubernetes-dashboard-76bd8dc445-wp9l6 1/1 Running 5 (26h ago) 10d
foo-5c9ff58bf4-c5mgh 1/1 Running 3 (26h ago) 14d
I created a second context, but this can't connect:
kubectl --context=DevDan-context get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?
What could be wrong?