I tried some solutions from here but it did not work. I deleted ~/.kube directory and it just made matters worse.

My solution is

$ minikube delete
$ minikube start

The ~/.kube directory was restored after doing this. I guess minikube takes care of initial .kube directory contents if there isn’t any. The ~/.kube/config file was created with minikube’s cluster info populated.

1 Comment

Anonymous · September 21, 2021 at 10:05 am

Your solution worked for me! Thanks!

Leave a Reply

Your email address will not be published.