<p>I'm on Ubuntu linux VM and trying to run minikube on it.</p>

<p>I installed kubectl via homebrew and then installed minikube by following below installation guides:<br>
kubectl: <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-linux" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-linux</a><br>
minikube: <a href="https://kubernetes.io/docs/tasks/tools/install-minikube/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/tools/install-minikube/</a></p>

<p>I started minikube as <code>sudo minikube start --driver=none</code> which has the following output:<br>
<a href="https://i.stack.imgur.com/h1QdZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h1QdZ.png" alt="enter image description here"></a></p>

<p>When I run the command: <code>kubectl get pods</code>, I get an error:</p>

<pre><code>Error in configuration:
* unable to read client-cert /home/jenkins/.minikube/profiles/minikube/client.crt for minikube due to open /home/jenkins/.minikube/profiles/minikube/client.crt: permission denied
* unable to read client-key /home/jenkins/.minikube/profiles/minikube/client.key for minikube due to open /home/jenkins/.minikube/profiles/minikube/client.key: permission denied
</code></pre>

<p>The user I'm installing all above is <code>/home/jenkins</code>. I'm not sure what's going wrong. Can someone help?</p>

<p>From <a href="https://github.com/kubernetes/minikube/issues/8363#issuecomment-637892712" rel="nofollow noreferrer">#8363</a> shared by <a href="https://stackoverflow.com/a/70451125/1235675">this answer</a>, I did <code>nano ~/.kube/config</code> and corrected the path..</p>
<pre class="lang-yaml prettyprint-override"><code>apiVersion: v1
clusters:
- cluster:
    certificate-authority: /home/username/.minikube/ca.crt
    server: https://192.168.64.3:8443
  name: minikube
contexts:
- context:
    cluster: minikube
    user: minikube
  name: minikube
current-context: minikube
kind: Config
users:
- name: minikube
  user:
    client-certificate: /home/username/.minikube/profiles/client.crt
    client-key: /home/username/.minikube/profiles/client.key
</code></pre>
