Sitemap
DevOps.dev

Devops.dev is a community of DevOps enthusiasts sharing insight, stories, and the latest development in the field.

Rabbitmq Cluster Operator Installation on Kubernetes with Helm

2 min readAug 7, 2024

--

Press enter or click to view image in full size

With the RabbitMQ Operator, you can manage your queues efficiently across your nodes.

Introduction​

The RabbitMQ Cluster Kubernetes Operator provides a consistent and easy way to deploy RabbitMQ clusters to Kubernetes and run them, including “day two” (continuous) operations. RabbitMQ clusters deployed using the Operator can be used by applications running on Kubernetes or outside of Kubernetes.

Installation

Helm is a package manager for Kubernetes that helps you manage Kubernetes applications. Before installing the RabbitMQ Cluster Operator, you need to install Helm.

Get Sezer Darendeli’s stories in your inbox

Join Medium for free to get updates from this writer.

This link installation Helm : https://helm.sh/docs/intro/install/

Install RabbitMQ Cluster with Helm

To install RabbitMQ Cluster, we will use Helm, the package manager for Kubernetes.

  1. Add the RabbitMQ Helm repository:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

2. Install RabbitMQ using Helm:

helm install my-rabbitmq-release bitnami/rabbitmq -n rabbitmq

This will deploy the RabbitMQ Cluster Operator into your Kubernetes cluster, enabling you to manage RabbitMQ clusters efficiently.

Install RabbitMQ Cluster Operator with Helm

To manage RabbitMQ clusters, you need to install the RabbitMQ Operator.

  1. Add the Bitnami Helm repository (if not already added):
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

2. Install the RabbitMQ Operator:

helm install rabbitmq-cluster-operator bitnami/rabbitmq-cluster-operator -n rabbitmq

This will deploy the RabbitMQ Cluster Operator into your Kubernetes cluster, enabling you to manage RabbitMQ clusters efficiently.

Rabbitmq to show default user and password

//Default user
kubectl get secret rabbitmqcluster-default-user -o jsonpath='{.data.username}' -n rabbitmq| base64 - decode

//Default password
kubectl get secret rabbitmqcluster-default-user -o jsonpath='{.data.password}' -n rabbitmq | base64 --decode

--

--

Published in DevOps.dev

Devops.dev is a community of DevOps enthusiasts sharing insight, stories, and the latest development in the field.