minikube Verified current stable Not installed? Kubernetes

Minikube / Start Minikube With Specific Resource Allocations

Start Minikube With Specific Resource Allocations

Launch Minikube with 2048MB memory and 2 CPUs for optimized performance.

$
Terminal
minikube start --memory <2048> --cpus <2>

When To Use

Use this command to allocate specific resources for your Minikube cluster.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
minikube start --memory <2048> --cpus <2>

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
😄  minikube v1.23.2 on Darwin 11.2.3
✨  Using the docker driver based on user configuration
💾  Starting control plane node minikube in cluster minikube
🔄  Pulling base image ...
🏄  Launching Kubernetes ...
🎉  Kubernetes is running!

💡  To learn more, run 'minikube dashboard'

Command Breakdown

What each part is doing

minikube
Base Command
The executable that performs this operation. Here it runs Minikube before the shell applies any redirect operators.
<2048>
2048
The value supplied for 2048.
<2>
2
The value supplied for 2.
--memory
Command Option
Tool-specific option used by this command invocation.
--cpus
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Run `minikube start --memory 2048 --cpus 2` in your terminal.

  2. Step 2

    Wait for Minikube to initialize with the specified resources.

  3. Step 3

    Use `minikube status` to verify the cluster is running.

Alternative Approaches

Comparable commands in other tools

Alternative kubernetes tools for the same job.