When I'm using kubectl
on top of Kubernetes. I can view contents of KUBECONFIG
file like this:
$ kubectl config view
Is there any way I can find out which I can find out the location of KUBECONFIG
file kubectl
is using? I'm looking for something like:
$ kubectl config get-location
/path/to/kube-config/file