<p>Is there any command which points me to the path where kubeconfig file is present?
I mean I am working on python k8s/openshift client. I am looking for linux or python command or libraries which can print me the path where kubeconfig file is present.</p>
<p>By default kubeconfig is present it home most of the time, but it may also vary for different deployment types.</p>
<p>looking forward to any suggestions/concerns.</p>

majid asad
<p>I used an installer to install the K8's cluster.
In my case, it is to be found under oauth folder. (I am not sure about the full correct path) but you can take a look in your k8's folder structure.</p>
<p>Or use the command find in linux to locate the file.</p>
<p>something like: <code>find / -type f -name '*.kubeconfig'</code></p>
