<p>I got Kubernetes Minikube on my laptop (4cores, 8 GB RAM). I just performed the basic installation steps (got <em>miniKube</em> and <em>kubectl</em>, enabled the BIOS virtualization) and I am able to start the cluster:</p>

<pre><code>C:\Users\me&gt;minikube start
Starting local Kubernetes cluster...
Starting VM...
SSH-ing files into VM...
Setting up certs...
Starting cluster components...
Connecting to cluster...
Setting up kubeconfig...
Kubectl is now configured to use the cluster.
</code></pre>

<p>However, when I try to interact with the cluster, I allways get the same error, sample:</p>

<pre><code>C:\Users\me&gt;kubectl get pods --context=minikube
Unable to connect to the server: dial tcp 192.168.99.100:8443: connectex: A connection attempt failed because the connected party
did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
</code></pre>

<p>I execute <code>minikube ip</code> and I ping the result IP and I get a response. Also I tried to give more memory (3Gb vs the standard 2Gb) and nothing changed.</p>

<p>Am I doing something wrong here?</p>

<p>Thanks!</p>

<p>I think it could be some problem with the cluster, when I run minikube status I've got the mixed results of cluster running and cluster stopped:</p>

<p>First run:</p>

<pre><code>c:\&gt; minikube status
</code></pre>

<blockquote>
  <p>minikube: Running</p>
  
  <p>cluster: Stopped</p>
  
  <p>kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100</p>
</blockquote>

<p>Second run:</p>

<blockquote>
  <p>minikube: Running
  cluster: Running
  kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100</p>
</blockquote>

<p>Third run:</p>

<blockquote>
  <p>minikube: Running</p>
  
  <p>cluster: Stopped</p>
  
  <p>kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100</p>
</blockquote>

<p>The service is flapping.</p>

<p>UPDATED:
Connecting to the minikube vm using minikube ssh I realized the kubeconfig file have wrong path separator for certificates generated by minikube automatic configuration. The path on kubeconfig file stands for <code>\var\lib\localkube\certs\ca.cert</code> and it have to be <code>/var/lib/localkube/certs/ca.cert</code> and so on...</p>

<p>To update the file I have to copy the content of the orignal file to my desktop, fix the directory separators and save the correct file to <code>/var/lib/localkube/kubeconfig</code> and restart the service using:</p>

<pre><code>sudo systemclt restart localkube.
</code></pre>

<p>I hope everyone can use minikube with this tip.</p>
