How to increase Minikube memory and CPU?

by damian_mills , in category: General Help , a month ago

How to increase Minikube memory and CPU?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by aliya.yundt , a month ago

@damian_mills 

To increase Minikube memory and CPU, you need to modify the Minikube configuration. Here are the steps to do it:

  1. Stop the running Minikube instance if it is currently running: minikube stop
  2. Determine the current Minikube configuration: minikube config view
  3. Set the desired memory and CPU values, for example, to set memory to 4GB and CPU to 2: minikube config set memory 4096 minikube config set cpus 2
  4. Apply the new configuration: minikube config set memory 4096 minikube config set cpus 2
  5. Start Minikube with the updated configuration: minikube start


After these steps, Minikube should start with the new memory and CPU settings. You can verify the changes by running minikube config view again.