Mac 安装 minikube

二进制安装

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64
sudo install minikube-darwin-amd64 /usr/local/bin/minikube 

启动

minikube start --registry-mirror=https://registry.docker-cn.com  --image-repository registry.cn-hangzhou.aliyuncs.com/google_containers --vm-driver=docker

查看

(base) lishichao@192 Documents % kubectl get pods -A
NAMESPACE     NAME                               READY   STATUS    RESTARTS   AGE
kube-system   coredns-54d67798b7-jd9nf           1/1     Running   0          67s
kube-system   etcd-minikube                      1/1     Running   0          79s
kube-system   kube-apiserver-minikube            1/1     Running   0          79s
kube-system   kube-controller-manager-minikube   1/1     Running   0          79s
kube-system   kube-proxy-97lzp                   1/1     Running   0          67s
kube-system   kube-scheduler-minikube            1/1     Running   0          79s
kube-system   storage-provisioner                1/1     Running   0          79s

仪表板

minikube dashboard

官网:https://minikube.sigs.k8s.io/docs/handbook/dashboard/

 

参考

https://juejin.cn/post/7054077165888864292

posted @ 2023-02-17 17:13  LiShiChao  阅读(103)  评论(0编辑  收藏  举报