'deleting minikube cluster so I can create a larger cluster with more CPUs
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 "kubectl config delete-cluster minikube" returns, "error: cannot delete cluster minikube, not in /home/ec2-user/.kube/config".
Trying to work around this, to delete my cluster and start with a larger one, I ran, "kubectl config set current-context minikube". Which created this entry in .kube/config: cat .kube/config
apiVersion: v1
clusters: null
contexts: null current-context: minikube
kind: Config
preferences: {}
users: null
NOTE: ignore double spaces I had to enter carriage returns to get the proper format)
Anyone know how to delete my current cluster, so I can create a bigger one with more memory and cpus?
Solution 1:[1]
You'll need to run minikube stop, then you should be able to start minikube again with more resources (minikube start --memory=4096 --cpus=2).
No need to delete your cluster.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ExplosiveFridge |
