"get all" command too slow on ubuntu 18


The command “microk8s.kubectl get all” is very slow on my ubuntu 18 VM with 8 gb of RAM.

The command takes around 1 minute.

Is this normal ? What can I do ?


I think i’ve seen this before. Chances are the directory ~/.kube/config is owned by root.

Make your user member of the microk8s group. Delete the directory ~/.kube then try again.

1 Like

Exactly ! I was already in the microk8s group. Deleting the .kube folder solved that. Thank you !