由于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

下载minikube

http://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/releases/v0.23.0/minikube-darwin-amd64


此替换改地址的版本号即可

https://github.com/AliyunContainerService/minikube/branches/all

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


启动

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://ehlxr.me/2018/01/12/kubernetes-minikube-installation/

https://blog.csdn.net/yjk13703623757/article/details/72187862?locationNum=5&fps=1

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2021-06-14
  • 2021-11-19
  • 2021-10-27
  • 2021-05-04
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2021-12-14
  • 2022-01-29
  • 2022-01-10
  • 2022-12-23
  • 2021-10-08
  • 2021-06-28
  • 2021-11-17
相关资源
相似解决方案