参考官网教程,链接:
https://minikube.sigs.k8s.io/docs/start/
bash
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
安装完启动minikube:
bash
sudo minikube start --force
minikube 可以下载相应版本的 kubectl,您应该能够像这样使用它:
minikube kubectl -- get po -A