rabbitmq

by joaquinito2051

Helm chartv11.0.3App 3.11.2

RabbitMQ is an open source general-purpose message broker that is designed for consistent, highly-available messaging scenarios (both synchronous and asynchronous).

About this chart

RabbitMQ packaged by Bitnami

RabbitMQ is an open source general-purpose message broker that is designed for consistent, highly-available messaging scenarios (both synchronous and asynchronous).

Overview of RabbitMQ

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/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.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/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.11.2-debian-11-r0
image.digestRabbitMQ image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
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""
namespaceOverrideString to fully override common.names.namespace""
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
clusterDomainKubernetes Cluster Domaincluster.local
extraDeployArray of extra objects to deploy with the release[]
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
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[]
dnsPolicyDNS Policy for pod""
dnsConfigDNS Configuration pod{}
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.addressType

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 v11.0.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