kubelive icon indicating copy to clipboard operation
kubelive copied to clipboard

Error: No active cluster!

Open rocketraman opened this issue 5 years ago • 3 comments
trafficstars

Describe the bug When running kubelive I get the error:

Error: No active cluster!

To Reproduce Run kubelive get pods or even just kubelive.

Desktop (please complete the following information):

  • OS: Linux

Additional context My KUBECONFIG is a composite of multiple config files e.g.:

$ echo $KUBECONFIG
/home/raman/.kube/kube1-config:/home/raman/.kube/kube2-config:/home/raman/.kube/minikube-config:/home/raman/.kube/config

kubectl get pods deals with this just fine.

$ kubectl get pods
NAME                                 READY   STATUS      RESTARTS   AGE
[ pods listed here ]

rocketraman avatar Jul 14 '20 13:07 rocketraman

@rocketraman is your current context set using kubectl?

ameerthehacker avatar Jul 14 '20 14:07 ameerthehacker

Yes:

$ kubectl config get-contexts
CURRENT   NAME          CLUSTER       AUTHINFO            NAMESPACE
          kube1         kube1         kube1-admin      
          minikube      minikube      minikube            
*         kube2         kube2         kube2-admin     

rocketraman avatar Jul 14 '20 14:07 rocketraman

weird, will check this out

ameerthehacker avatar Jul 14 '20 14:07 ameerthehacker