欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

mac docker desktop kubernetes一直starting

程序员文章站 2022-06-30 14:25:31
...

mac docker desktop kubernetes一直starting

版本信息:

  1. os版本:macos catalina 10.15.7
  2. docer版本:docker desktop 2.5.3
  3. kubernetes版本:kubernetes v1.19.3
git clone https://github.com/gotok8s/k8s-docker-desktop-for-mac.git
cd k8s-docker-desktop-for-mac
sh load_images.sh

images 信息:

k8s.gcr.io/kube-proxy:v1.19.3=gotok8s/kube-proxy:v1.19.3
k8s.gcr.io/kube-controller-manager:v1.19.3=gotok8s/kube-controller-manager:v1.19.3
k8s.gcr.io/kube-scheduler:v1.19.3=gotok8s/kube-scheduler:v1.19.3
k8s.gcr.io/kube-apiserver:v1.19.3=gotok8s/kube-apiserver:v1.19.3
k8s.gcr.io/coredns:1.6.2=gotok8s/coredns:1.6.2
k8s.gcr.io/pause:3.1=gotok8s/pause:3.1
k8s.gcr.io/etcd:3.3.15-0=gotok8s/etcd:3.3.15-0

如果上述操作重启后kubernetes仍然starting,删除kubernetes环境配置

rm -rf ~/.kube
rm -rf ~/Library/Group\ Containers/group.com.docker/pki/

我就是最后一步成功的!!!