rabbitmq
Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
About this chart
RabbitMQ
RabbitMQ is an open source message broker software that implements the Advanced Message Queuing Protocol (AMQP).
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/rabbitmq
Introduction
This chart bootstraps a RabbitMQ deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.
Prerequisites
- Kubernetes 1.12+
- Helm 2.12+ or Helm 3.0-beta3+
- PV provisioner support in the underlying infrastructure
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release bitnami/rabbitmq
The command deploys RabbitMQ on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
The following table lists the configurable parameters of the RabbitMQ chart and their default values.
| Parameter | Description | Default |
|---|---|---|
global.imageRegistry | Global Docker image registry | nil |
global.imagePullSecrets | Global Docker registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
global.storageClass | Global storage class for dynamic provisioning | nil |
Common parameters
| Parameter | Description | Default |
|---|---|---|
nameOverride | String to partially override rabbitmq.fullname | nil |
fullnameOverride | String to fully override rabbitmq.fullname | nil |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
RabbitMQ parameters
| Parameter | Description | Default |
|---|---|---|
image.registry | RabbitMQ image registry | docker.io |
image.repository | RabbitMQ image name | bitnami/rabbitmq |
image.tag | RabbitMQ image tag | {TAG_NAME} |
image.pullPolicy | RabbitMQ image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
image.debug | Set to true if you would like to see extra information on logs | false |
auth.username | RabbitMQ application username | user |
auth.password | RabbitMQ application password | random 10 character long alphanumeric string |
auth.existingPasswordSecret | Existing secret with RabbitMQ credentials | nil (evaluated as a template) |
auth.erlangCookie | Erlang cookie | random 32 character long alphanumeric string |
auth.existingErlangSecret | Existing secret with RabbitMQ Erlang cookie | nil |
auth.tls.enabled | Enable TLS support on RabbitMQ | false |
auth.tls.failIfNoPeerCert | When set to true, TLS connection will be rejected if client fails to provide a certificate | true |
auth.tls.sslOptionsVerify | Should peer verification be enabled? | verify_peer |
auth.tls.caCertificate | Certificate Authority (CA) bundle content | nil |
auth.tls.serverCertificate | Server certificate content | nil |
auth.tls.serverKey | Server private key content | nil |
auth.tls.existingSecret | Existing secret with certificate content to RabbitMQ credentials | nil |
logs | Path of the RabbitMQ server's Erlang log file | - |
ulimitNofiles | Max File Descriptor limit | 65536 |
maxAvailableSchedulers | RabbitMQ maximum available scheduler threads | 2 |
onlineSchedulers | RabbitMQ online scheduler threads | 1 |
memoryHighWatermark.enabled | Enable configuring Memory high watermark on RabbitMQ | false |
memoryHighWatermark.type | Memory high watermark type. Either absolute or relative | relative |
memoryHighWatermark.value | Memory high watermark value | 0.4 |
plugins | List of plugins to enable | rabbitmq_management rabbitmq_peer_discovery_k8s |
communityPlugins | List of custom plugins (URLs) to be downloaded during container initialization | nil |
extraPlugins | Extra plugins to enable | nil |
clustering.addressType | Switch clustering mode. Either ip or hostname | hostname |
clustering.rebalance | Rebalance master for queues in cluster when new replica is created | false |
clustering.forceBoot | Rebalance master for queues in cluster when new replica is created | false |
loadDefinition.enabled | Enable loading a RabbitMQ definitions file to configure RabbitMQ | false |
loadDefinition.existingSecret | Existing secret with the load definitions file | nil |
command | Override default container command (useful when using custom images) | nil |
args | Override default container args (useful when using custom images) | nil |
extraEnvVars | Extra environment variables to add to RabbitMQ pods | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | nil |
extraEnvVarsSecret | Name of existing Secret containing extra env vars (in case of sensitive data) | nil |
extraContainerPorts | Extra ports to be included in container spec, primarily informational | [] |
configuration | RabbitMQ configuration | Check values.yaml file |
extraConfiguration | Extra configuration to be appended to RabbitMQ configuration | Check values.yaml file |
advancedConfiguration | Extra configuration (in classic format) | Check values.yaml file |
ldap.enabled |
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 v7.6.9 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