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

时间:2020-06-13 19:19:20   收藏:0   阅读:145

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

原因:

# 可以执行下面命令查看
kubectl get pods --all-namespace -o wide

解决:

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

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

原文:https://www.cnblogs.com/sheldonxiun/p/13121326.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!