Curator报错Connection-timed-out-for-connection-string
目录
概述
本文记录一次 Zookeeper 部署到容器中遇到的问题。
问题
容器运行的 Zookeeper,当开启 NodePort 的时候,让集群外的业务连接的时候报错了,报错日志大概是这样的。

排查
大概的问题是因为 Java 使用的 Client 的 DNS 解析的问题。
参考资料
警告
本文最后更新于 2017年2月1日,文中内容可能已过时,请谨慎参考。