[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/kube-apiserver:v1.15.1: output: Error response from daemon:
Get https://registry.aliyuncs.com/v2/: proxyconnect tcp: dial tcp 172.96.236.117:10080: connect: connection refused, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/kube-controller-manager:v1.15.1: output: Error response from
daemon: Get https://registry.aliyuncs.com/v2/: proxyconnect tcp: dial tcp 172.96.236.117:10080: connect: connection refused, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/kube-scheduler:v1.15.1: output: Error response from daemon:
Get https://registry.aliyuncs.com/v2/: proxyconnect tcp: dial tcp 172.96.236.117:10080: connect: connection refused, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/kube-proxy:v1.15.1: output: Error response from daemon: Get
https://registry.aliyuncs.com/v2/: proxyconnect tcp: dial tcp 172.96.236.117:10080: connect: connection refused, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/pause:3.1: output: Error response from daemon: Get https://r
egistry.aliyuncs.com/v2/: proxyconnect tcp: dial tcp 172.96.236.117:10080: connect: connection refused, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/etcd:3.3.10: output: Error response from daemon: Get https:/
/registry.aliyuncs.com/v2/: proxyconnect tcp: dial tcp 172.96.236.117:10080: connect: connection refused, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/coredns:1.3.1: output: Error response from daemon: Get https
://registry.aliyuncs.com/v2/: proxyconnect tcp: dial tcp 172.96.236.117:10080: connect: connection refused
  • 解决

在你原来运行命令的基础上,加如下,指定国内的源

[root@kmaster ~]# kubeadm init --image-repository registry.aliyuncs.com/google_containers --ignore-preflight-errors=Swap

另外

如果你的/usr/lib/systemd/system/docker.service 文件有类似如下两行配置

Environment="HTTPS_PROXY=http://www.ik8s.io:10080"
Environment="NO_PROXY=127.0.0.0/8,172.20.0.0/16"

注释或者删除掉就好了

最新文章

  1. 【Network】修改docker启动默认网桥docker0为自定义网桥
  2. 代码在ie9中不能正确执行
  3. Android Studio导入第三方jar包
  4. 详细对比IB开发与纯手码开发的优劣。
  5. haploview出现“more than two alleles”的解决方法
  6. centos7防火墙那些事
  7. mysql awr v1.0.1发布
  8. 04 SQL是关于集合的
  9. 《Genesis-3D开源游戏引擎--横版格斗游戏制作教程:简介及目录》(附上完整工程文件)
  10. linux下通过yum安装svn及配置
  11. .NET支持上下左右移动操作
  12. jsp显示计算数值, 四舍五入
  13. Spring SpringMVC MyBatis配置笔记
  14. SVN客户端操作
  15. 使外部主机可访问Django服务
  16. spring注解@Scheduled中fixedDelay、fixedRate和cron表达式的区别
  17. UI5-学习篇-9-本地Eclipse UI5应用发布到SAP前端服务器
  18. 读取型CSRF-需要交互的内容劫持
  19. [JavaScript] 跳出循环方法总结
  20. 转:FSMT:文件服务器从03迁移到08R2实战演练

热门文章

  1. wave数据集的回归曲线
  2. Laya的资源加载
  3. Cheng MeiChun团队的技术支持
  4. Error:java: Compilation failed: internal java compiler
  5. PAT 甲级 1069 The Black Hole of Numbers (20 分)(内含别人string处理的精简代码)
  6. 模仿系统C键功能菜单
  7. CSS3动画框架 Animate.css
  8. docker ubuntu桌面
  9. SPSS 2019年10月24日 今日学习总结
  10. Django_静态文件的配置(STATIC_URL)