1、下载安装 docker-desktop
选在适合自己的版本docker官网
2、 4步骤 开启k8s集群
3、确认开启成功
打开客户端
kubectl version --client
kubectl cluster-info
kubectl get pods -A
执行脚本校验启动情况
4、遇到的问题
执行 kubectl get pods -A 命令报错
The connection to the server 127.0.0.1:58760 was refused - did you specify the right host or port?
经过排查 由于之间安装过 minikube 导致下面配置文件错误 ,删除 从新开启 成功了
~/.kube/config