Problem with Rabbitmq cluster in Kubernetes











up vote
0
down vote

favorite












I successfully setup RabbitMQ cluster by helm usig this chart (https://github.com/helm/charts/tree/master/stable/rabbitmq-ha) in k8s, but can't create connection with server in my exteranl .net core application. Receiving such exception:



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


I have enabled ingress and have access to rmq managment console with hostname. I checked ports(5672, 15672) in docker containers, they are opened. What is wrong with this?



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"}









share|improve this question
























  • What do you mean by ingress? That's just HTTP(S). You should have the broker exposed as a service, either as ClusterIP or LoadBalancer -- kubernetes.io/docs/concepts/services-networking/service/…
    – evilSnobu
    Nov 21 at 12:33










  • @evilSnobu, yes, of course i exposed by service. If you will look in this chart, you will see that deployment create two services: 1)client-facing one, designed to be used for client connections to the RabbitMQ cluster with port forwarding or using a LoadBalancer I am truuing to use port-forwarding. 2)and service discovery - a headless service for connections between the RabbitMQ nodes. Saying "ingress", i just mean that in values.yaml, i am set ingress enable to true.
    – Шебалов Денис
    Nov 21 at 12:40

















up vote
0
down vote

favorite












I successfully setup RabbitMQ cluster by helm usig this chart (https://github.com/helm/charts/tree/master/stable/rabbitmq-ha) in k8s, but can't create connection with server in my exteranl .net core application. Receiving such exception:



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


I have enabled ingress and have access to rmq managment console with hostname. I checked ports(5672, 15672) in docker containers, they are opened. What is wrong with this?



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"}









share|improve this question
























  • What do you mean by ingress? That's just HTTP(S). You should have the broker exposed as a service, either as ClusterIP or LoadBalancer -- kubernetes.io/docs/concepts/services-networking/service/…
    – evilSnobu
    Nov 21 at 12:33










  • @evilSnobu, yes, of course i exposed by service. If you will look in this chart, you will see that deployment create two services: 1)client-facing one, designed to be used for client connections to the RabbitMQ cluster with port forwarding or using a LoadBalancer I am truuing to use port-forwarding. 2)and service discovery - a headless service for connections between the RabbitMQ nodes. Saying "ingress", i just mean that in values.yaml, i am set ingress enable to true.
    – Шебалов Денис
    Nov 21 at 12:40















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I successfully setup RabbitMQ cluster by helm usig this chart (https://github.com/helm/charts/tree/master/stable/rabbitmq-ha) in k8s, but can't create connection with server in my exteranl .net core application. Receiving such exception:



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


I have enabled ingress and have access to rmq managment console with hostname. I checked ports(5672, 15672) in docker containers, they are opened. What is wrong with this?



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"}









share|improve this question















I successfully setup RabbitMQ cluster by helm usig this chart (https://github.com/helm/charts/tree/master/stable/rabbitmq-ha) in k8s, but can't create connection with server in my exteranl .net core application. Receiving such exception:



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


I have enabled ingress and have access to rmq managment console with hostname. I checked ports(5672, 15672) in docker containers, they are opened. What is wrong with this?



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"}






kubernetes rabbitmq






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 at 13:05









Shudipta Sharma

1,059212




1,059212










asked Nov 21 at 12:30









Шебалов Денис

12




12












  • What do you mean by ingress? That's just HTTP(S). You should have the broker exposed as a service, either as ClusterIP or LoadBalancer -- kubernetes.io/docs/concepts/services-networking/service/…
    – evilSnobu
    Nov 21 at 12:33










  • @evilSnobu, yes, of course i exposed by service. If you will look in this chart, you will see that deployment create two services: 1)client-facing one, designed to be used for client connections to the RabbitMQ cluster with port forwarding or using a LoadBalancer I am truuing to use port-forwarding. 2)and service discovery - a headless service for connections between the RabbitMQ nodes. Saying "ingress", i just mean that in values.yaml, i am set ingress enable to true.
    – Шебалов Денис
    Nov 21 at 12:40




















  • What do you mean by ingress? That's just HTTP(S). You should have the broker exposed as a service, either as ClusterIP or LoadBalancer -- kubernetes.io/docs/concepts/services-networking/service/…
    – evilSnobu
    Nov 21 at 12:33










  • @evilSnobu, yes, of course i exposed by service. If you will look in this chart, you will see that deployment create two services: 1)client-facing one, designed to be used for client connections to the RabbitMQ cluster with port forwarding or using a LoadBalancer I am truuing to use port-forwarding. 2)and service discovery - a headless service for connections between the RabbitMQ nodes. Saying "ingress", i just mean that in values.yaml, i am set ingress enable to true.
    – Шебалов Денис
    Nov 21 at 12:40


















What do you mean by ingress? That's just HTTP(S). You should have the broker exposed as a service, either as ClusterIP or LoadBalancer -- kubernetes.io/docs/concepts/services-networking/service/…
– evilSnobu
Nov 21 at 12:33




What do you mean by ingress? That's just HTTP(S). You should have the broker exposed as a service, either as ClusterIP or LoadBalancer -- kubernetes.io/docs/concepts/services-networking/service/…
– evilSnobu
Nov 21 at 12:33












@evilSnobu, yes, of course i exposed by service. If you will look in this chart, you will see that deployment create two services: 1)client-facing one, designed to be used for client connections to the RabbitMQ cluster with port forwarding or using a LoadBalancer I am truuing to use port-forwarding. 2)and service discovery - a headless service for connections between the RabbitMQ nodes. Saying "ingress", i just mean that in values.yaml, i am set ingress enable to true.
– Шебалов Денис
Nov 21 at 12:40






@evilSnobu, yes, of course i exposed by service. If you will look in this chart, you will see that deployment create two services: 1)client-facing one, designed to be used for client connections to the RabbitMQ cluster with port forwarding or using a LoadBalancer I am truuing to use port-forwarding. 2)and service discovery - a headless service for connections between the RabbitMQ nodes. Saying "ingress", i just mean that in values.yaml, i am set ingress enable to true.
– Шебалов Денис
Nov 21 at 12:40



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412088%2fproblem-with-rabbitmq-cluster-in-kubernetes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412088%2fproblem-with-rabbitmq-cluster-in-kubernetes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...