Reputation: 78683
I've added stuff to my ~/.kube/config
which doesn't appear when I do:
microk8s.kubectl config view
I'd like to use Microk8s with the default config file location.
Is this possible?
Upvotes: 6
Views: 3714
Reputation: 44559
It is possible in the latest snap version (1.14.1) by editing /var/snap/microk8s/current/args/kubectl and changing --kubeconfig to point to your own preferred config file, or in my case:
--kubeconfig=${KUBECONFIG}
Upvotes: 3