rabbitmq

by kubelauncher

Helm chartv0.2.17App 4.3.6Apache-2.0Verified publisher

RabbitMQ message broker

About this chart

rabbitmq

RabbitMQ message broker

TL;DR

helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-rmq kubelauncher/rabbitmq \
  --set auth.password=secret

Or via OCI:

helm install my-rmq oci://ghcr.io/kubelauncher/charts/rabbitmq \
  --set auth.password=secret

Introduction

This chart deploys RabbitMQ on Kubernetes using the kubelauncher/rabbitmq Docker image. Management UI and Prometheus plugin are enabled by default.

The values structure follows the same conventions as popular community charts, allowing easy migration.

Architecture

Single node (default)

A single RabbitMQ node with the management plugin enabled on port 15672.

helm install my-rmq kubelauncher/rabbitmq \
  --set auth.username=admin \
  --set auth.password=secret

Cluster

Multiple RabbitMQ nodes forming an Erlang cluster with automatic peer discovery via Kubernetes. Increase replicaCount to deploy a cluster.

helm install my-rmq kubelauncher/rabbitmq \
  --set auth.username=admin \
  --set auth.password=secret \
  --set replicaCount=3 \
  --set clustering.enabled=true

Clustering uses hostname-based addressing with autoheal partition handling by default. All nodes share the same Erlang cookie for authentication.

Warning: RabbitMQ clusters do not survive simultaneous full restarts. When all nodes restart at the same time, each node waits for the others' Mnesia tables, causing a deadlock. Always use rolling restarts (kubectl rollout restart) rather than deleting all pods at once. If a full restart occurs accidentally, delete one pod at a time and wait for it to rejoin the cluster before deleting the next.

Installing the Chart

helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-rmq kubelauncher/rabbitmq \
  --set auth.username=admin \
  --set auth.password=secret \
  --set replicaCount=3

Or via OCI:

helm install my-rmq oci://ghcr.io/kubelauncher/charts/rabbitmq \
  --set auth.username=admin \
  --set auth.password=secret \
  --set replicaCount=3

Uninstalling the Chart

helm uninstall my-rmq

Values

KeyTypeDefaultDescription
affinityobject{}
auth.erlangCookiestring""
auth.existingErlangSecretstring""
auth.existingPasswordSecretstring""
auth.existingSecretErlangKeystring"rabbitmq-erlang-cookie"
auth.existingSecretPasswordKeystring"rabbitmq-password"
auth.passwordstring""
auth.usernamestring"user"
clusterDomainstring"cluster.local"
clustering.addressTypestring"hostname"
clustering.enabledbooltrue
clustering.partitionHandlingstring"autoheal"
commonAnnotationsobject{}
commonLabelsobject{}
communityPluginsstring""
containerPorts.amqpint5672
containerPorts.distint25672
containerPorts.epmdint4369
containerPorts.managerint15672
containerPorts.metricsint9419
containerSecurityContext.allowPrivilegeEscalationboolfalse
containerSecurityContext.capabilities.drop[0]string"ALL"
containerSecurityContext.enabledbooltrue
containerSecurityContext.readOnlyRootFilesystemboolfalse
containerSecurityContext.runAsGroupint1001
containerSecurityContext.runAsNonRootbooltrue
containerSecurityContext.runAsUserint1001
containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
enableServiceLinksboolfalse
extraConfigurationstring""
extraDeploylist[]
extraEnvVarslist[]
extraPluginsstring""
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
global.defaultStorageClassstring""
global.imagePullSecretslist[]
global.imageRegistrystring""
global.storageClassstring""
httpRoute.enabledboolfalse
httpRoute.hostnameslist[]
httpRoute.parentRefs.namestring"traefik-gateway"
httpRoute.parentRefs.namespacestring"traefik"
httpRoute.pathstring"/"
httpRoute.pathTypestring"PathPrefix"
image.digeststring"sha256:0be1ac452d553efde6b7d5ddcfdd6b735a142589202281916a601c652b5fab10"
image.pullPolicystring"Always"
image.pullSecretslist[]
image.registrystring"ghcr.io"
image.repositorystring"kubelauncher/rabbitmq"
image.tagstring"4.3.6"
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"Prefix"
ingress.ingressClassNamestring""
ingress.tlslist[]
initContainerslist[]
livenessProbe.enabledbooltrue
livenessProbe.failureThresholdint6
livenessProbe.initialDelaySecondsint120
livenessProbe.periodSecondsint30
livenessProbe.successThresholdint1
livenessProbe.timeoutSecondsint20
metrics.enabledboolfalse
metrics.serviceMonitor.enabledboolfalse
metrics.serviceMonitor.intervalstring""
metrics.serviceMonitor.labelsobject{}
metrics.serviceMonitor.scrapeTimeoutstring""
nameOverridestring""
namespaceOverridestring""
networkPolicy.additionalRuleslist[]
networkPolicy.allowExternalbooltrue
networkPolicy.enabledboolfalse
nodeSelectorobject{}
persistence.accessModes[0]string"ReadWriteOnce"
persistence.annotationsobject{}
persistence.enabledbooltrue
persistence.existingClaimstring""
persistence.labelsobject{}
persistence.mountPathstring"/data/rabbitmq/data"
persistence.sizestring"8Gi"
persistence.storageClassstring""
pluginsstring"rabbitmq_management rabbitmq_prometheus"
podAnnotationsobject{}
podLabelsobject{}
podSecurityContext.enabledbooltrue
podSecurityContext.fsGroupint1001
readinessProbe.enabledbooltrue
readinessProbe.failureThresholdint3
readinessProbe.initialDelaySecondsint10
readinessProbe.periodSecondsint10
readinessProbe.successThresholdint1
readinessProbe.timeoutSecondsint20
replicaCountint1
resourcesobject{}
resourcesPresetstring"micro"
service.annotationsobject{}
service.clusterIPstring""
service.headless.annotationsobject{}
service.labelsobject{}
service.nodePorts.amqpstring""
service.nodePorts.diststring""
service.nodePorts.epmdstring""
service.nodePorts.managerstring""
service.nodePorts.metricsstring""
service.ports.amqpint5672
service.ports.distint25672
service.ports.epmdint4369
service.ports.managerint15672
service.ports.metricsint9419
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountServiceAccountTokenboolfalse
serviceAccount.createbooltrue
serviceAccount.namestring""
sidecarslist[]
startupProbe.enabledbooltrue
startupProbe.failureThresholdint30
startupProbe.initialDelaySecondsint10
startupProbe.periodSecondsint10
startupProbe.successThresholdint1
startupProbe.timeoutSecondsint5
tolerationslist[]

Maintainers

NameEmailUrl
kubelauncher[email protected]https://www.kubelauncher.com

Deploy rabbitmq with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rabbitmq on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartrabbitmq is pinned at v0.2.17 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply