1
1

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 start --vm-driver=virtualbox でエラーした備忘録

Last updated at Posted at 2020-07-05

現象

チュートリアルにしたがってやってみたがうまくいかない


% minikube start --vm-driver=virtualbox
😄  Darwin 10.15.5 上の minikube v1.11.0
💥  The existing "" VM was created using the "" driver, and is incompatible with the "virtualbox" driver.
👉  To proceed, either:

1) Delete the existing "" cluster using: 'minikube delete -p '

* or *

2) Start the existing "" cluster using: 'minikube start -p  --driver='

💣  終了しています

書いてある通り、 minikube delete -p / minikube start -p --driver= もやってみたがうまくいかない

対処法

これやったらあっさりうまくいった


% rm -rf ~/.minikube

以前、中途半端にやったときのゴミが残っていたのかな?

成功したときのログ


% minikube start --vm-driver=virtualbox
😄  Darwin 10.15.5 上の minikube v1.11.0
✨  設定を元に、 virtualbox ドライバを使用します
💿  VM ブートイメージをダウンロードしています...
    > minikube-v1.11.0.iso.sha256: 65 B / 65 B [-------------] 100.00% ? p/s 0s
    > minikube-v1.11.0.iso: 174.99 MiB / 174.99 MiB [] 100.00% 3.94 MiB p/s 45s
👍  Starting control plane node minikube in cluster minikube
💾  Kubernetes v1.18.3 のダウンロードの準備をしています
    > preloaded-images-k8s-v3-v1.18.3-docker-overlay2-amd64.tar.lz4: 526.01 MiB
🔥  Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🐳  Docker 19.03.8 で Kubernetes v1.18.3 を準備しています...
🔎  Verifying Kubernetes components...
🌟  Enabled addons: default-storageclass, storage-provisioner
🏄  Done! kubectl is now configured to use "minikube"

❗  /Users/f/Tools/google-cloud-sdk/bin/kubectl is version 1.15.11-dispatcher, which may be incompatible with Kubernetes 1.18.3.
💡  「 minikube kubectl -- get pods 」で、一致するバージョンを表示することができます
1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?