Kubernetes中Rabbitmq集群的问题

时间:2018-11-21 12:30:26

标签: kubernetes rabbitmq

我通过在k8s中使用此图表(https://github.com/helm/charts/tree/master/stable/rabbitmq-ha)成功地设置了RabbitMQ群集,但是无法在exteranl .net核心应用程序中与服务器建立连接。收到此类异常:

RabbitMQ.Client.Exceptions.BrokerUnreachableException: "None of the specified endpoints were reachable

我已启用入口并可以使用主机名访问rmq管理控制台。我检查了Docker容器中的端口(5672,15672),它们已打开。怎么了?

Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.1", GitCommit:"4ed3216f3ec431b140b1d899130a69fc671678f4", GitTreeState:"clean", BuildDate:"2018-10-05T16:36:14Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.1", GitCommit:"4ed3216f3ec431b140b1d899130a69fc671678f4", GitTreeState:"clean", BuildDate:"2018-10-05T16:36:14Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}

0 个答案:

没有答案