1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Minikube MemoryとCPUを変更して起動する

Last updated at Posted at 2020-02-16

例: メモリ: 4GB, CPU: 12コアに設定して起動したい場合

minikube start --memory='4g' --cpus=12
😄  minikube v1.6.2 on Darwin 10.15.2
✨  Automatically selected the 'hyperkit' driver (alternates: [])
🔥  Creating hyperkit VM (CPUs=12, Memory=4000MB, Disk=20000MB) ...

minikube start --help で起動時のオプションを見ることができる。

minikube start --help | grep memory
      --memory='2000mb': Amount of RAM allocated to the minikube VM (format: <number>[<unit>], where unit = b, k, m or g).
minikube start --help | grep cpu
      --cpus=2: Number of CPUs allocated to the minikube VM.

すでにclusterを構築している時はオプションつけて起動しても適用されないので注意。
minikube deleteしてから起動させること。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?