GithubHelp home page GithubHelp logo

leigaorobot / docker-rabbitmq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from foxylion/docker-rabbitmq

0.0 0.0 0.0 9 KB

Preconfigured RabbitMQ docker image with support for HA and persistent Kubernetes stateful sets

Home Page: https://hub.docker.com/r/foxylion/rabbitmq/

Makefile 0.80% Shell 99.20%

docker-rabbitmq's Introduction

RabbitMQ autocluster image

This Docker image has builtin the autocluster plugin and is configured to support a deployment in Kubernetes as a stateful set with persistent volumes attached to the pods.

This ensures a highly available cluster which can recover, in case of a full outage, from persistence.

See the Kubernetes example here.

To start this in your minikube cluster just call kubectl apply -f examples/kubernetes.yml. This will create a 3 node RabbitMQ cluster with persistence volumes attached to the storage. So even a StatefulSet scale to 0 the cluster will survive.

The example configures the cluster to stop when a partition detects to be a minority and restarts after a majority is gained. More about this can be found in the RabbitMQ documentation.

This is important to know. Because it is not possible to simply scale down the StatefulSet from 7 to 3 nodes. You will need to slowly scale down the cluster and remove down nodes. Otherwise the resulting 3-node cluster will not be the majority of all defined nodes.

Available docker image tags

3.6-autocluster Docker Stars Docker Pulls

This is image based on rabbitmq:3.6-alpine with the following plugins enabled: rabbitmq_management, rabbitmq_shovel, rabbitmq_shovel_management, autocluster

docker-rabbitmq's People

Contributors

foxylion avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.