2
3

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 5 years have passed since last update.

homebrewでminikubeをインストール

Posted at

homebrewを使ってminikubeをインストールする手順

インストール手順

  • brew caskのインストール
    $ brew install cask

  • hyperkitのインストール
    brew install hyperkit

  • hyperkit driverのインストール
    brew install docker-machine-driver-hyperkit

  • 実行権限の付与
    chmod u+s /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit

  • minikubeのインストール
    brew cask install minikube

  • minikubeの起動
    minikube start --vm-driver=hyperkit

  • 起動状態の確認
    kubectl get node

起動できない場合

「“minikube-darwin-amd64”は、開発元を検証できないため開けません。」と言われて起動できない場合、やむを得ないので一時的にダウンロードしたアプリケーションの実行を許可するため以下の様にする

$ sudo spctl --master-disable
$ minikube start --vm-driver=hyperkit
$ sudo spctl --master-enaable
2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?