Kubernetes安装Helm服务端tiller报错Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exis

Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exist

安装Helm客户端和服务端后, 执行helm version报错,

Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exist

原因:

  • 网络问题, master节点和node节点网络不在同一个局域网
# 可以执行下面命令查看
kubectl get pods --all-namespace -o wide
  • 虚拟机可能存在双网卡问题, 导致master和node节点网络改变
  • helm部署在一台主机上

解决:

  1. /etc/hosts 配置IP地址和主机名映射(主机点和所有子节点)
vim /etc/hosts

# 添加 IP地址和主机名映射, 例如
192.168.25.102 kube-node-01
  1. 重启系统 或者 重启docker
systemctl restart docker

Kubernetes安装Helm服务端tiller报错Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exis

上一篇:linux 文件内容查看工具介绍 ,tail less more cat 等 转:http://blog.csdn.net/carzyer/article/details/4759593


下一篇:LInux-Firewalld 防火墙