How to install OSS Rabbitmq in Kubernetes
search cancel

How to install OSS Rabbitmq in Kubernetes

book

Article ID: 375860

calendar_today

Updated On:

Products

VMware Tanzu RabbitMQ Support Only for OpenSource RabbitMQ VMware RabbitMQ

Issue/Introduction

This guide will instruct you to install the OSS Rabbitmq in Kubernetes.

This is the fastest way to get up and running with a RabbitMQ cluster deployed by the Cluster Operator.

Resolution

Prerequisites​

  • Access to a Kubernetes cluster version 1.19 or above
  • kubectl configured to access the cluster

 

Step 1:  Install the cluster-operator

kubectl apply -f https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml

There are some new pods will be created:

 

Step 2: Install the cert-manager

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.15.2/cert-manager.yaml

 

Step 3: Install the message topology

kubectl apply -f https://github.com/rabbitmq/messaging-topology-operator/releases/latest/download/messaging-topology-operator-with-certmanager.yaml

Step 4: Deploy a new Rabbitmq cluster

kubectl apply -f https://raw.githubusercontent.com/rabbitmq/cluster-operator/main/docs/examples/hello-world/rabbitmq.yaml

 

Step 5: Check the pod status

kubectl  get pods

 

Please also refer to the guide below for more detailed information:

https://www.rabbitmq.com/kubernetes/operator/quickstart-operator