rabbitmq

by [riftbit]

Helm chartv8.22.3App 3.9.7Verified publisher

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

RabbitMQ Image parameters

NameDescriptionValue
image.registryRabbitMQ image registrydocker.io
image.repositoryRabbitMQ image repositorybitnami/rabbitmq
image.tagRabbitMQ image tag (immutable tags are recommended)3.9.7-debian-10-r0
image.pullPolicyRabbitMQ image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugSet to true if you would like to see extra information on logsfalse

Common parameters

NameDescriptionValue
nameOverrideString to partially override rabbitmq.fullname template (will maintain the release name)""
fullnameOverrideString to fully override rabbitmq.fullname template""
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
clusterDomainKubernetes Cluster Domaincluster.local
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]
hostAliasesDeployment pod host aliases[]
commonAnnotationsAnnotations to add to all deployed objects{}
auth.usernameRabbitMQ application usernameuser
auth.passwordRabbitMQ application password""
auth.existingPasswordSecretExisting secret with RabbitMQ credentials (must contain a value for rabbitmq-password key)""
auth.erlangCookieErlang cookie to determine whether different nodes are allowed to communicate with each other""
auth.existingErlangSecretExisting secret with RabbitMQ Erlang cookie (must contain a value for rabbitmq-erlang-cookie key)""
auth.tls.enabledEnable TLS support on RabbitMQfalse
auth.tls.autoGeneratedGenerate automatically self-signed TLS certificatesfalse
auth.tls.failIfNoPeerCertWhen set to true, TLS connection will be rejected if client fails to provide a certificatetrue
auth.tls.sslOptionsVerifyShould peer verification be enabled?verify_peer
auth.tls.caCertificateCertificate Authority (CA) bundle content""
auth.tls.serverCertificateServer certificate content""
auth.tls.serverKeyServer private key content""
auth.tls.existingSecretExisting secret with certificate content to RabbitMQ credentials""
auth.tls.existingSecretFullChainWhether 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
logsPath of the RabbitMQ server's Erlang log file. Value for the RABBITMQ_LOGS environment variable-
ulimitNofilesRabbitMQ Max File Descriptors65536
maxAvailableSchedulersRabbitMQ maximum available scheduler threads""
onlineSchedulersRabbitMQ online scheduler threads""
memoryHighWatermark.enabledEnable configuring Memory high watermark on RabbitMQfalse
memoryHighWatermark.typeMemory high watermark type. Either absolute or relativerelative
memoryHighWatermark.valueMemory high watermark value0.4
pluginsList of default plugins to enable (should only be altered to remove defaults; for additional plugins use extraPlugins)rabbitmq_management rabbitmq_peer_discovery_k8s
communityPluginsList of Community plugins (URLs) to be downloaded during container initialization""
extraPluginsExtra plugins to enable (single string containing a space-separated list)rabbitmq_auth_backend_ldap
clustering.enabledEnable RabbitMQ clusteringtrue
clustering.addressTypeSwitch clustering mode. Either ip or hostnamehostname
clustering.rebalanceRebalance master for queues in cluster when new replica is createdfalse
clustering.forceBootForce boot of an unexpectedly shut down cluster (in an unexpected order).false
loadDefinition.enabledEnable loading a RabbitMQ definitions file to configure RabbitMQfalse
loadDefinition.existingSecretExisting secret with the load definitions file""
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
terminationGracePeriodSecondsDefault duration in seconds k8s waits for container to exit before sending kill signal.120
extraEnvVarsExtra environment variables to add to RabbitMQ pods[]
extraEnvVarsCMName of existing ConfigMap containing extra environment variables""
extraEnvVarsSecretName of existing Secret containing extra environment variables (in case of sensitive data)""
extraContainerPortsExtra 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartrabbitmq is pinned at v8.22.3 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