Getting error with kubectl
error: error loading config file “/home/thor/.kube/config”: read /home/thor/.kube/config: is a directory
How to troubleshoot it?
What`s the task?
Maybe restart task help you?
Hi! I had the same bug, I just restarted the lab to fix it. Try it, it should solve your problem. Good luck!)
This issue is more frequent to the point where I face it with every other task. Resetting the lab is the only workaround.
I’m now checking if I can do a simple kubectl get po
at the beginning of each lab to avoid redoing things
Hope this will get fixed soon.