RabbitMQ Cluster Operator Helm Chart
RabbitMQ Cluster Operator manages the lifecycle of RabbitMQ clusters on Kubernetes, providing automated provisioning, scaling, and configuration of RabbitMQ brokers. The RabbitMQ Cluster Operator Helm chart automates deployment and configuration of the RabbitMQ Cluster Operator (along with the Messaging Topology Operator) in Kubernetes clusters using Minimus images.
Prerequisites
- A subscription to the Minimus images included in the chart
- A running Kubernetes cluster (v1.21 or higher is recommended)
kubectl installed and configured
- Helm v3.8 or higher for OCI support (Installation instructions)
- Cluster Admin privileges
Note: The chart installs the RabbitmqCluster CRD (rabbitmq.com/v1beta1) as well as the Messaging Topology CRDs (Binding, Exchange, Queue, User, Vhost, etc.). Cluster-scoped RBAC is required to install these resources.
Try It Out
In this example we will deploy the RabbitMQ Cluster Operator on a Kubernetes cluster using the Minimus RabbitMQ Cluster Operator Helm chart. Once installed, the operator will be ready to manage RabbitmqCluster custom resources.
Step 1: Start Cluster
If you have a cluster to work with, skip this step. Otherwise, start a Minikube cluster. Deployment instructions
Step 2: Create Namespace
Create a namespace:
kubectl create ns rabbitmq-cluster-operator
Step 3: Deploy the Helm Chart
Deploy the Minimus Helm chart:
helm install my-rabbitmq-cluster-operator oci://helm.mini.dev/rabbitmq-cluster-operator \
--version 0.3.3 \
-n rabbitmq-cluster-operator \
--wait
If you want to override the chart's defaults, go to the Values tab, save a copy locally with your changes. Deploy the chart with your overrides using -f values.yaml:
helm install my-rabbitmq-cluster-operator oci://helm.mini.dev/rabbitmq-cluster-operator \
--version 0.3.3 \
-f values.yaml \
-n rabbitmq-cluster-operator \
--wait
Step 4: Verify RabbitMQ Cluster Operator is Running
Confirm the chart deployed successfully and the operators started:
kubectl get pods -n rabbitmq-cluster-operator
You should see output similar to:
NAME READY STATUS RESTARTS AGE
my-rabbitmq-cluster-operator-cluster-operator-xxxxxxxxx-xxxxx 1/1 Running 0 2m
my-rabbitmq-cluster-operator-msg-topology-operator-xxxxxxxxx-xxxxx 1/1 Running 0 2m
Both the Cluster Operator and the Messaging Topology Operator should report Running with 1/1 ready containers.
Step 5: Create a RabbitMQ Cluster
Now that the operator is running, you can create a RabbitMQ cluster managed by it.
Save the following custom resource to a file called rabbitmq-sample.yaml:
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
name: rabbitmq-sample
namespace: rabbitmq-cluster-operator
spec:
replicas: 1
resources:
requests:
cpu: 500m
memory: 500Mi
limits:
cpu: 1
memory: 1Gi
Apply it to the cluster:
kubectl apply -f rabbitmq-sample.yaml
Wait for the RabbitMQ cluster to become ready, then verify its status:
kubectl get rabbitmqclusters.rabbitmq.com -n rabbitmq-cluster-operator
Step 6: Clean Up
Uninstall the chart and delete the namespace to remove all resources:
helm uninstall my-rabbitmq-cluster-operator -n rabbitmq-cluster-operator
kubectl delete namespace rabbitmq-cluster-operator
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.