apache / rocketmq-operator

Apache RocketMQ Operator
https://rocketmq.apache.org/
Apache License 2.0
314 stars 127 forks source link

the nameservice in master and slave #76

Closed carloscao0928 closed 2 years ago

carloscao0928 commented 3 years ago

微信截图_20210621164022

the name address in master can be correctly,but in slave is empty,whats wrong,

waney316 commented 2 years ago

do you hava fix and resolve the problem ? i met it when i deploy the rocketmq cluster,one of the broker nameserver address maybe empty

caigy commented 2 years ago
  1. Could you provide the log of operator at that time?
  2. Did this problem occur in your initial deployment, or after scaling?
caigy commented 2 years ago

It may be caused by empty PodIP in the following procedure: https://github.com/apache/rocketmq-operator/blob/aabcbe4bef9ad09f1c7009c1cf91511f9a514a36/pkg/controller/nameservice/nameservice_controller.go#L282-L288

@carloscao0928 @waney316 Could you provide more about your Kubernetes version, network type and CNI plugin? Ref

waney316 commented 2 years ago

k8s version is 1.21.7, CNI plugin: flannel v0.15.1 the cluster build by rancher @caigy

caigy commented 2 years ago

@waney316 @carloscao0928 pls find if #94 can solve the problem.