rabbitmq

by microfunctionsio

Helm chartv7.6.9App 3.8.9Verified 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 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.

ParameterDescriptionDefault
global.imageRegistryGlobal Docker image registrynil
global.imagePullSecretsGlobal Docker registry secret names as an array[] (does not add image pull secrets to deployed pods)
global.storageClassGlobal storage class for dynamic provisioningnil

Common parameters

ParameterDescriptionDefault
nameOverrideString to partially override rabbitmq.fullnamenil
fullnameOverrideString to fully override rabbitmq.fullnamenil
clusterDomainDefault Kubernetes cluster domaincluster.local

RabbitMQ parameters

ParameterDescriptionDefault
image.registryRabbitMQ image registrydocker.io
image.repositoryRabbitMQ image namebitnami/rabbitmq
image.tagRabbitMQ image tag{TAG_NAME}
image.pullPolicyRabbitMQ image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[] (does not add image pull secrets to deployed pods)
image.debugSet to true if you would like to see extra information on logsfalse
auth.usernameRabbitMQ application usernameuser
auth.passwordRabbitMQ application passwordrandom 10 character long alphanumeric string
auth.existingPasswordSecretExisting secret with RabbitMQ credentialsnil (evaluated as a template)
auth.erlangCookieErlang cookierandom 32 character long alphanumeric string
auth.existingErlangSecretExisting secret with RabbitMQ Erlang cookienil
auth.tls.enabledEnable TLS support on RabbitMQfalse
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 contentnil
auth.tls.serverCertificateServer certificate contentnil
auth.tls.serverKeyServer private key contentnil
auth.tls.existingSecretExisting secret with certificate content to RabbitMQ credentialsnil
logsPath of the RabbitMQ server's Erlang log file-
ulimitNofilesMax File Descriptor limit65536
maxAvailableSchedulersRabbitMQ maximum available scheduler threads2
onlineSchedulersRabbitMQ online scheduler threads1
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 plugins to enablerabbitmq_management rabbitmq_peer_discovery_k8s
communityPluginsList of custom plugins (URLs) to be downloaded during container initializationnil
extraPluginsExtra plugins to enablenil
clustering.addressTypeSwitch clustering mode. Either ip or hostnamehostname
clustering.rebalanceRebalance master for queues in cluster when new replica is createdfalse
clustering.forceBootRebalance master for queues in cluster when new replica is createdfalse
loadDefinition.enabledEnable loading a RabbitMQ definitions file to configure RabbitMQfalse
loadDefinition.existingSecretExisting secret with the load definitions filenil
commandOverride default container command (useful when using custom images)nil
argsOverride default container args (useful when using custom images)nil
extraEnvVarsExtra environment variables to add to RabbitMQ pods[]
extraEnvVarsCMName of existing ConfigMap containing extra env varsnil
extraEnvVarsSecretName of existing Secret containing extra env vars (in case of sensitive data)nil
extraContainerPortsExtra ports to be included in container spec, primarily informational[]
configurationRabbitMQ configurationCheck values.yaml file
extraConfigurationExtra configuration to be appended to RabbitMQ configurationCheck values.yaml file
advancedConfigurationExtra 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.

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