Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make The Node Name Settable #272

Closed
pnovotnak opened this issue Aug 18, 2015 · 3 comments
Closed

Make The Node Name Settable #272

pnovotnak opened this issue Aug 18, 2015 · 3 comments
Assignees
Labels
invalid mailing list material This belongs to the mailing list (rabbitmq-users on Google Groups)
Milestone

Comments

@pnovotnak
Copy link

I think this might be a dupe or at least partial dupe of #73, but it's really crampin' my style, so I'd like to make sure you folks upstream know about it, because I cannot imagine I'm the only one.

My use case is; I'm trying to run an application inside of Kubernetes with a Rabbit broker. However, I need persistence. Since I cannot set the hostname via Kubernetes (reported, as issue 4825 I cannot run Rabbit in the cluster.

For reference: docker-library/rabbitmq#6

@michaelklishin
Copy link
Member

You can set node name. If that's not possible with Kubernetes, this sounds like a Kubernetes limitation to me.

@michaelklishin
Copy link
Member

Running two nodes on the same host is perfectly possible: change the part before the @. For example, some of our test suites use rabbit@hostname and hare@hostname.

@michaelklishin michaelklishin added mailing list material This belongs to the mailing list (rabbitmq-users on Google Groups) invalid labels Aug 18, 2015
@michaelklishin michaelklishin self-assigned this Aug 18, 2015
@michaelklishin michaelklishin added this to the n/a milestone Aug 18, 2015
@pnovotnak
Copy link
Author

Sorry for my ignorance! I had seen the RABBITMQ_NODENAME variable in the documentation and tried using it, but was not setting up my container correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid mailing list material This belongs to the mailing list (rabbitmq-users on Google Groups)
Projects
None yet
Development

No branches or pull requests

2 participants