Bailongma
Bailongma copied to clipboard
Bailongma can not connect to taos db cluster in kubernetes
Hi, @sangshuduo
I deployed an tdengine cluster in k8s followed TDengine-Operator, following is my tdengine pods and service, and it worked.
then i deployed bailongma
bailongma can not connect to taos. following is logs
and i can connect to tdengine by restful api in blm_prometheus container.
can you try taos shell to connect the taosd server from blm_prometheus container and see what happen?
@sangshuduo taos shell can not connect to server
@kitianFresh okay. I guess something wrong regards network communication. please refer to our FAQ to diagnose. https://www.taosdata.com/cn/documentation/faq
@sangshuduo I used image provided by taos in the doc to deploy the blm_prometheus.
tdengine/blm_prometheus latest a284a4917664 11 months ago 246MB
@kitianFresh sorry for that. I think the bailongma docker image is out of date. We will update it with the latest version ASAP.
@kitianFresh In order to check the network , you can try to execute ping tdengine-0.tdengine.default.svc.cluster.local
on the blm_prometheus container
@huskar-t I think the network is ok. You can read above message.
@kitianFresh Execute show dnodes
and observe whether the end_point
column matches the k8s domain .then try to execute taos -h tdengine-0.tdengine.default.svc.cluster.local -u root -p
on the blm_prometheus container