iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

不能连接数据库

Open cathyyfy opened this issue 2 years ago • 6 comments

各位好,

我想将iotdb集群部署到GKE(Google Kubernetes Engine)的load balancer上面实现自动扩容。

目前已经把iotdb集群部署到external load balancer了。 log 没有报错,本地端测试pod也是正常,但是external load balancer生成的终端(endpoint)无法连接数据库。

不知道用什么办法解决这个问题?谢谢!

Screenshot 2023-06-14 at 11 39 01 am Screenshot 2023-06-14 at 12 06 27 pm Screenshot 2023-06-14 at 12 12 49 pm

cathyyfy avatar Jun 14 '23 03:06 cathyyfy

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Jun 14 '23 03:06 github-actions[bot]

请问有人在吗?

cathyyfy avatar Jun 15 '23 10:06 cathyyfy

this should be a discussion, rather than an issue. The most likely reason is that you forget to modify the listened IP.

jixuan1989 avatar Jun 15 '23 14:06 jixuan1989

Sorry I mixed two pictures from different deployments. I deployed a new load balancer and attached the updated results.

1 2 3 4

cathyyfy avatar Jun 16 '23 02:06 cathyyfy

Hi @jixuan1989, the listening IP is correct now, but still cannot connect to the database. Please check the above updated new pictures. Thanks!

cathyyfy avatar Jun 16 '23 21:06 cathyyfy

检查下LB svc的yaml, 看下status的IP是不是最新的pod IP

myysophia avatar May 03 '24 08:05 myysophia