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?
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}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With