rabbitmq
by kubelauncher
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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| auth.erlangCookie | string | "" | |
| auth.existingErlangSecret | string | "" | |
| auth.existingPasswordSecret | string | "" | |
| auth.existingSecretErlangKey | string | "rabbitmq-erlang-cookie" | |
| auth.existingSecretPasswordKey | string | "rabbitmq-password" | |
| auth.password | string | "" | |
| auth.username | string | "user" | |
| clusterDomain | string | "cluster.local" | |
| clustering.addressType | string | "hostname" | |
| clustering.enabled | bool | true | |
| clustering.partitionHandling | string | "autoheal" | |
| commonAnnotations | object | {} | |
| commonLabels | object | {} | |
| communityPlugins | string | "" | |
| containerPorts.amqp | int | 5672 | |
| containerPorts.dist | int | 25672 | |
| containerPorts.epmd | int | 4369 | |
| containerPorts.manager | int | 15672 | |
| containerPorts.metrics | int | 9419 | |
| containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| containerSecurityContext.enabled | bool | true | |
| containerSecurityContext.readOnlyRootFilesystem | bool | false | |
| containerSecurityContext.runAsGroup | int | 1001 | |
| containerSecurityContext.runAsNonRoot | bool | true | |
| containerSecurityContext.runAsUser | int | 1001 | |
| containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| enableServiceLinks | bool | false | |
| extraConfiguration | string | "" | |
| extraDeploy | list | [] | |
| extraEnvVars | list | [] | |
| extraPlugins | string | "" | |
| extraVolumeMounts | list | [] | |
| extraVolumes | list | [] | |
| fullnameOverride | string | "" | |
| global.defaultStorageClass | string | "" | |
| global.imagePullSecrets | list | [] | |
| global.imageRegistry | string | "" | |
| global.storageClass | string | "" | |
| httpRoute.enabled | bool | false | |
| httpRoute.hostnames | list | [] | |
| httpRoute.parentRefs.name | string | "traefik-gateway" | |
| httpRoute.parentRefs.namespace | string | "traefik" | |
| httpRoute.path | string | "/" | |
| httpRoute.pathType | string | "PathPrefix" | |
| image.digest | string | "sha256:0be1ac452d553efde6b7d5ddcfdd6b735a142589202281916a601c652b5fab10" | |
| image.pullPolicy | string | "Always" | |
| image.pullSecrets | list | [] | |
| image.registry | string | "ghcr.io" | |
| image.repository | string | "kubelauncher/rabbitmq" | |
| image.tag | string | "4.3.6" | |
| ingress.annotations | object | {} | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "Prefix" | |
| ingress.ingressClassName | string | "" | |
| ingress.tls | list | [] | |
| initContainers | list | [] | |
| livenessProbe.enabled | bool | true | |
| livenessProbe.failureThreshold | int | 6 | |
| livenessProbe.initialDelaySeconds | int | 120 | |
| livenessProbe.periodSeconds | int | 30 | |
| livenessProbe.successThreshold | int | 1 | |
| livenessProbe.timeoutSeconds | int | 20 | |
| metrics.enabled | bool | false | |
| metrics.serviceMonitor.enabled | bool | false | |
| metrics.serviceMonitor.interval | string | "" | |
| metrics.serviceMonitor.labels | object | {} | |
| metrics.serviceMonitor.scrapeTimeout | string | "" | |
| nameOverride | string | "" | |
| namespaceOverride | string | "" | |
| networkPolicy.additionalRules | list | [] | |
| networkPolicy.allowExternal | bool | true | |
| networkPolicy.enabled | bool | false | |
| nodeSelector | object | {} | |
| persistence.accessModes[0] | string | "ReadWriteOnce" | |
| persistence.annotations | object | {} | |
| persistence.enabled | bool | true | |
| persistence.existingClaim | string | "" | |
| persistence.labels | object | {} | |
| persistence.mountPath | string | "/data/rabbitmq/data" | |
| persistence.size | string | "8Gi" | |
| persistence.storageClass | string | "" | |
| plugins | string | "rabbitmq_management rabbitmq_prometheus" | |
| podAnnotations | object | {} | |
| podLabels | object | {} | |
| podSecurityContext.enabled | bool | true | |
| podSecurityContext.fsGroup | int | 1001 | |
| readinessProbe.enabled | bool | true | |
| readinessProbe.failureThreshold | int | 3 | |
| readinessProbe.initialDelaySeconds | int | 10 | |
| readinessProbe.periodSeconds | int | 10 | |
| readinessProbe.successThreshold | int | 1 | |
| readinessProbe.timeoutSeconds | int | 20 | |
| replicaCount | int | 1 | |
| resources | object | {} | |
| resourcesPreset | string | "micro" | |
| service.annotations | object | {} | |
| service.clusterIP | string | "" | |
| service.headless.annotations | object | {} | |
| service.labels | object | {} | |
| service.nodePorts.amqp | string | "" | |
| service.nodePorts.dist | string | "" | |
| service.nodePorts.epmd | string | "" | |
| service.nodePorts.manager | string | "" | |
| service.nodePorts.metrics | string | "" | |
| service.ports.amqp | int | 5672 | |
| service.ports.dist | int | 25672 | |
| service.ports.epmd | int | 4369 | |
| service.ports.manager | int | 15672 | |
| service.ports.metrics | int | 9419 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.automountServiceAccountToken | bool | false | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| sidecars | list | [] | |
| startupProbe.enabled | bool | true | |
| startupProbe.failureThreshold | int | 30 | |
| startupProbe.initialDelaySeconds | int | 10 | |
| startupProbe.periodSeconds | int | 10 | |
| startupProbe.successThreshold | int | 1 | |
| startupProbe.timeoutSeconds | int | 5 | |
| tolerations | list | [] |
Maintainers
| Name | Url | |
|---|---|---|
| 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartrabbitmq is pinned at v0.2.17 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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