Note series: Mac OS installation minikube

1. Goal

Install minikube on Mac os(12) system.

2. Environment preparation

  • Java 11
  • docker
  • homebrew

3. Installation

Refer to the minikube installation tutorial here.

Insert image description here
Just follow the instructions and enter them

brew install minikube

However, failed

Error: Could not find an SDK that supports macOS 12.0.
You may have have an outdated or incompatible CLT.
Homebrew found the following SDKs in the CLT install:
  10.14
  10.15

Please update CLT or uninstall it if no updates are available.

This is very embarrassing.
There was a similar question here on stockoverflow , so I tried it and prepared to install the develop tool. However, the Internet speed was too slow, so I downloaded and looked for new methods at the same time.

There is a new installation method here that I haven't tried yet.
Later I found that just updating the brew settings would be enough.

brew update-reset

After the update is completed, re-execute the installation instructions until the installation is successful.
Insert image description here
After installation, execute

which minikube

You can see that the installation has been successful and you can start it and try it.

4. Start

Just be lazy first and directly

minikube start

Wait for a while until the startup is successful.
Insert image description here

You can use the following command to check the basic pod startup status

kubectl get pod -A

Insert image description here

As you can see, the installation has been completed. In the next section, we will start some of our own applications.

Guess you like

Origin blog.csdn.net/Apple_wolf/article/details/125360717