0
0

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をBrewでインストールしてもパスに通らない時の対応方法

Last updated at Posted at 2020-08-13

まずは結論。

  • brew link minikube
    を打つと良い。

順を追って説明

brewでminikubeをインストールしてうまくいった。(と思ったが)

$brew install minikube

ただ、minikube startしようとしても、そもそもminikubeコマンドがパスに通っていない。

$minikube start

もう一回インストールしようとすると、brew linkをうつ必要があったぽい

$brew install minikube
Updating Homebrew...
Warning: minikube 1.12.3 is already installed, it's just not linked
You can use `brew link minikube` to link this version.

打ってみる。

$brew link minikube
Linking /usr/local/Cellar/minikube/1.12.3... 3 symlinks created

ちなみに、メモリ指定が0MBになってしまっていた模様。

$minikube start
~中略~
💣  Requested memory allocation 0MB is less than the usable minimum of 1024MB

指定してみる。

$minikube start --memory=1024MB

振り返り

最近minikubeを使っていなくて、アンインストールしたかも覚えていないけれど、再度使おうとしたときなどに発現するのか、どういった状況で発生するかは不明。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?