<p>I need to run  sudo minikube start --memory=4096 --cpus=2 for my use case.  However it is running with 1 cpu already.  Somehow I started it w/o creating an entry in ~/kube/config
so &quot;kubectl config delete-cluster minikube&quot; returns, &quot;error: cannot delete cluster minikube, not in /home/ec2-user/.kube/config&quot;.</p>
<p>Trying to work around this, to delete my cluster and start with a larger one, I ran, &quot;kubectl config set current-context minikube&quot;.  Which created this entry in .kube/config:
cat .kube/config</p>
<p>apiVersion: v1</p>
<p>clusters: null</p>
<p>contexts: null
current-context: minikube</p>
<p>kind: Config</p>
<p>preferences: {}</p>
<p>users: null</p>
<p>NOTE: ignore double spaces I had to enter carriage returns to get the proper format)</p>
<p>Anyone know how to delete my current cluster, so I can create a bigger one with more memory and cpus?</p>

<p>To change cpus or memory you want to get the profile name like mentioned before:</p>
<pre><code>minikube profile list
</code></pre>
<p>And then delete the profile you want to change, in my case it was minikube:</p>
<pre><code>minikube delete --profile minikube
</code></pre>
<p>Then you can start minikube again creating new profile:</p>
<pre><code>minikube start --vm-driver=virtualbox --cpus 8 --memory 16g
</code></pre>
