安装阿里云github提供的修改版minikube

    由于kubenetes域名背墙(gcr.io),如kubernetes-dashboard服务依赖不能正常使用。

$ docker pull gcr.io/google_containers/pause-amd64:3.0
Error response from daemon: Get https://gcr.io/v1/_ping: http: error connecting to proxy http://localhost:1087: dial tcp 127.0.0.1:1087: getsockopt: connection refused

解决方法1:找到网友的博文,使用ss代理,但是完成后依然还是无法结局

https://blog.samemoment.com/articles/kubernetes/

解决方法2:阿里云提供了minikube修改版

https://github.com/AliyunContainerService/minikube

下载golang和docker

cd /etc/yum.repos.d/ && curl -o docker-ce.repo https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repo
yum clean all
yum makecache
yum install go docker-ce -y

启动

minikube start --registry-mirror=https://docker.mirrors.ustc.edu.cn/

可以看到正常启动

具体安装详见:https://www.cnblogs.com/LC161616/p/9192329.html


参考文档:

https://blog.csdn.net/aixiaoyang168/article/details/78356033

https://blog.csdn.net/guizaijianchic/article/details/78421800

文章来自:https://www.cnblogs.com/LC161616/p/9195313.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3