Bootstrap a highly available RabbitMQ Cluster on Kubernetes with TLS support using letsencrpt certificates.
- Install kubectl
- Setup a kubernetes cluster
- Clone this repo git@github.com:chukaofili/rabbitmq-ha.git
- cd rabbitmq-ha
- chmod 700 ./install.sh
- cp [REPO]/cert-manager-install/.env.example [REPO]/cert-manager-install/.env & substitute variables for yours.
- cp [REPO]/rabbitmq-config/.env.example [REPO]/rabbitmq-config/.env & substitute variables for yours.
- Run ./install.sh
- Enter 1 to install
helm
or 2 to skip ifhelm
is already installed. - Enter 1 to install
helm client
or 2 to skip ifhelm client
is already installed. - Enter 1 to install
ngin-ingress
or 2 to skip ifnginx-ingress
is already installed. - Enter 1 to install
cert-manager
or 2 to skip ifcert-manager
is already installed. - Enter 1 to install
rabbitmq
- After installation, how to access your rabbitmq cluster should be printed in your terminal.
- Modify your dns records to point your domains (DOMAIN & amqp-DOMAIN) printed on screen to thier repective ips.
- Sip some tea and wait for your domains to reolve :).
- Connect to your new rabbitmq cluster whohoo!!.