RabbitMQ

Modified on Tue, 26 Nov at 12:33 PM

Original Git Instructions  here.


What Is RabbitMQ?
RabbitMQ is a free and open-source messaging and streaming broker that supports AMQP 1.0 and MQTT 5 protocols. It is commonly used for decoupling services, RPC, streaming, IoT applications, and more. It’s a mature and reliable tool, widely adopted due to its simplicity and extensive deployment options across cloud environments, on-premises, and local machines.


Installing RabbitMQ with Helm

Download the rabbitmq.values.yml attached to this article and place it in a recognizable folder. This file contains the configurations values. The file was already changed with the values recommended by Collab.
 Open a CommandLine or PowerShel in the folder that contains rabbitmq.values.yml.

Step 1: Create a Secret for RabbitMQ Credentials

To secure your RabbitMQ installation, create a Kubernetes secret with a strong password for the RabbitMQ account.

Replace !!!CREATEME!!! with the strong password and run the following commands:" 

kubectl create namespace rabbitmq
kubectl -n rabbitmq create secret generic rabbitmq --from-literal=rabbitmq-password="!!!CREATEME!!!"

Step 2: Install RabbitMQ

Add the Bitnami Helm repository and install RabbitMQ with the following commands:

helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update bitnami
helm upgrade --install rabbitmq bitnami/rabbitmq -n rabbitmq --version 14.4.4 -f rabbitmq.values.yml

Step 3: Verify the Installation

Check if RabbitMQ is running by listing the pods in the rabbitmq namespace:

kubectl -n rabbitmq get pod

Expected output:


NAME         READY   STATUS    RESTARTS        AGE

rabbitmq-0   1/1     Running   0               5h43m

rabbitmq-1   1/1     Running   0               5h37m

rabbitmq-2   1/1     Running   0               5h34m




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article