rabbitmq
by [riftbit]
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 3.1.0
- 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
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
RabbitMQ Image parameters
| Name | Description | Value |
|---|---|---|
image.registry | RabbitMQ image registry | docker.io |
image.repository | RabbitMQ image repository | bitnami/rabbitmq |
image.tag | RabbitMQ image tag (immutable tags are recommended) | 3.9.7-debian-10-r0 |
image.pullPolicy | RabbitMQ image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Set to true if you would like to see extra information on logs | false |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override rabbitmq.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override rabbitmq.fullname template | "" |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
hostAliases | Deployment pod host aliases | [] |
commonAnnotations | Annotations to add to all deployed objects | {} |
auth.username | RabbitMQ application username | user |
auth.password | RabbitMQ application password | "" |
auth.existingPasswordSecret | Existing secret with RabbitMQ credentials (must contain a value for rabbitmq-password key) | "" |
auth.erlangCookie | Erlang cookie to determine whether different nodes are allowed to communicate with each other | "" |
auth.existingErlangSecret | Existing secret with RabbitMQ Erlang cookie (must contain a value for rabbitmq-erlang-cookie key) | "" |
auth.tls.enabled | Enable TLS support on RabbitMQ | false |
auth.tls.autoGenerated | Generate automatically self-signed TLS certificates | 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 | "" |
auth.tls.serverCertificate | Server certificate content | "" |
auth.tls.serverKey | Server private key content | "" |
auth.tls.existingSecret | Existing secret with certificate content to RabbitMQ credentials | "" |
auth.tls.existingSecretFullChain | Whether or not the existing secret contains the full chain in the certificate (tls.crt). Will be used in place of ca.cert if true. | false |
logs | Path of the RabbitMQ server's Erlang log file. Value for the RABBITMQ_LOGS environment variable | - |
ulimitNofiles | RabbitMQ Max File Descriptors | 65536 |
maxAvailableSchedulers | RabbitMQ maximum available scheduler threads | "" |
onlineSchedulers | RabbitMQ online scheduler threads | "" |
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 default plugins to enable (should only be altered to remove defaults; for additional plugins use extraPlugins) | rabbitmq_management rabbitmq_peer_discovery_k8s |
communityPlugins | List of Community plugins (URLs) to be downloaded during container initialization | "" |
extraPlugins | Extra plugins to enable (single string containing a space-separated list) | rabbitmq_auth_backend_ldap |
clustering.enabled | Enable RabbitMQ clustering | true |
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 | Force boot of an unexpectedly shut down cluster (in an unexpected order). | false |
loadDefinition.enabled | Enable loading a RabbitMQ definitions file to configure RabbitMQ | false |
loadDefinition.existingSecret | Existing secret with the load definitions file | "" |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
terminationGracePeriodSeconds | Default duration in seconds k8s waits for container to exit before sending kill signal. | 120 |
extraEnvVars | Extra environment variables to add to RabbitMQ pods | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra environment variables | "" |
extraEnvVarsSecret | Name of existing Secret containing extra environment variables (in case of sensitive data) | "" |
extraContainerPorts | Extra ports to be included in c |
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 v8.22.3 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