K8S访问ui报错Error: 'dial tcp 172.17.65.2:9090: getsockopt: connection timed out' Trying to reach: 'http://172.17.65.2:9090/'的解决办法

今天在部署k8s服务的ui的时候,访问报错

解决办法:

需要开启iptables的转发功能(master和node节点都要执行)

iptables -P FORWARD ACCEPT

发表评论

后才能评论