-
Notifications
You must be signed in to change notification settings - Fork 149
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
Enable RabbitMQ mirrored queues #1226
Conversation
(Mirrored Queues) queues. Added logic to parse environment variables to set defult username, password and patter for Mirrored Queues at container startup
- Set number of mirrors per queue to 2 - Modified broker lagoon template by adding the RABBITMQ_DEFAULT_HA_PATTER variable
Use of COPY for consistence in Dockerfile Changed RABBITMQ_DEFAULT_HA_PATTERN default value
Added RABBITMQ_DEFAULT_VHOST variable Added envplate binary to substitute variables
Same ENTRYPOINT for rabbitmq and rabbitmq-cluster images Defined ENV variables for Lagoon broker service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed last commit to fix it.
Please review.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for review
Added documentation about image |
@vincenzodnp
this is because it tries to load Can you add that? thanks |
@Schnitzel added the |
Checklist
Currently the RabbitMQ cluster is not set to use native HA mechanism called "Mirrored Queues".
It allows to create queues mirrored on 2 or more nodes, making the cluster fully High Availability.
In fact, at the moment, if the node (pod) where the queue is declared dies, queue's consumer are not able to use the it.
With mirrored queues, not only queue is still available for consumers but the mirror node is automatically elected new queue master (writable).
When the mirror node(s) is(are) online again, the queue is automatically synced all over the nodes defined in the policy.
Changelog Entry
Improvement - Set RabbitMQ policy to enable Mirrored Queue by default for all "lagoon-" queues (#1098 )
Closing issues
closes #1098