tree: df1a60883e027ee0b8421aba7f6deb73508922b6 [path history] [tgz]
  1. charts/
  2. crds/
  3. templates/
  4. .helmignore
  5. Chart.lock
  6. Chart.yaml
  7. README.md
  8. requirements.lock
  9. values.yaml
charts/rabbitmq-cluster-operator/README.md

RabbitMQ Cluster Operator packaged by Bitnami

The RabbitMQ Cluster Kubernetes Operator automates provisioning, management, and operations of RabbitMQ clusters running on Kubernetes.

Overview of RabbitMQ Cluster Operator

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.

TL;DR

$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/rabbitmq-cluster-operator

Introduction

Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.

This chart bootstraps a RabbitMQ Cluster Operator Deployment in 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 install my-release bitnami/rabbitmq-cluster-operators

The command deploy the RabbitMQ Cluster Kubernetes Operator 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.

Differences between the Bitnami RabbitMQ chart and the Bitnami RabbitMQ Operator chart

In the Bitnami catalog we offer both the bitnami/rabbitmq and bitnami/rabbitmq-operator charts. Each solution covers different needs and use cases.

The bitnami/rabbitmq chart deploys a single RabbitMQ installation using a Kubernetes StatefulSet object (together with Services, PVCs, ConfigMaps, etc.). The figure below shows the deployed objects in the cluster after executing helm install:

                    +--------------+             +-----+
                    |              |             |     |
 Service            |   RabbitMQ   +<------------+ PVC |
<-------------------+              |             |     |
                    |  StatefulSet |             +-----+
                    |              |
                    +-----------+--+
                                ^                +------------+
                                |                |            |
                                +----------------+ Configmaps |
                                                 | Secrets    |
                                                 +------------+

Its lifecycle is managed using Helm and, at the RabbitMQ container level, the following operations are automated: persistence management, configuration based on environment variables and plugin initialization. The StatefulSet do not require any ServiceAccounts with special RBAC privileges so this solution would fit better in more restricted Kubernetes installations.

The bitnami/rabbitmq-operator chart deploys a RabbitMQ Operator installation using a Kubernetes Deployment. The figure below shows the RabbitMQ operator deployment after executing helm install:

+--------------------+
|                    |      +---------------+
|  RabbitMQ Operator |      |               |
|                    |      |     RBAC      |
|     Deployment     |      | Privileges    |
+-------+------------+      +-------+-------+
        ^                           |
        |   +-----------------+     |
        +---+ Service Account +<----+
            +-----------------+

The operator will extend the Kubernetes API with the following object: RabbitmqCluster. From that moment, the user will be able to deploy objects of these kinds and the previously deployed Operator will take care of deploying all the required StatefulSets, ConfigMaps and Services for running a RabbitMQ instance. Its lifecycle is managed using kubectl on the RabbitmqCluster objects. The following figure shows the deployed objects after deploying a RabbitmqCluster object using kubectl:

  +--------------------+
  |                    |      +---------------+
  |  RabbitMQ Operator |      |               |
  |                    |      |     RBAC      |
  |     Deployment     |      | Privileges    |
  +-------+------------+      +-------+-------+
  |     ^                           |
  |     |   +-----------------+     |
  |     +---+ Service Account +<----+
  |         +-----------------+
  |
  |
  |
  |
  |    -------------------------------------------------------------------------
  |    |                                                                       |
  |    |                        +--------------+             +-----+           |
  |    |                        |              |             |     |           |
  |--->|     Service            |   RabbitMQ   +<------------+ PVC |           |
       |    <-------------------+              |             |     |           |
       |                        |  StatefulSet |             +-----+           |
       |                        |              |                               |
       |                        +-----------+--+                               |
       |                                    ^                +------------+    |
       |                                    |                |            |    |
       |                                    +----------------+ Configmaps |    |
       |                                                     | Secrets    |    |
       |                                                     +------------+    |
       |                                                                       |
       |                                                                       |
       -------------------------------------------------------------------------

This solution allows to easily deploy multiple RabbitMQ instances compared to the bitnami/rabbitmq chart. As the operator automatically deploys RabbitMQ installations, the RabbitMQ Operator pods will require a ServiceAccount with privileges to create and destroy multiple Kubernetes objects. This may be problematic for Kubernetes clusters with strict role-based access policies.

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)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled)false

RabbitMQ Cluster Operator Parameters

NameDescriptionValue
rabbitmqImage.registryRabbitMQ Image registrydocker.io
rabbitmqImage.repositoryRabbitMQ Image repositorybitnami/rabbitmq
rabbitmqImage.tagRabbitMQ Image tag (immutable tags are recommended)3.8.28-debian-10-r1
rabbitmqImage.pullSecretsRabbitMQ Image pull secrets[]
credentialUpdaterImage.registryRabbitMQ Default User Credential Updater Image registrydocker.io
credentialUpdaterImage.repositoryRabbitMQ Default User Credential Updater Image repositorybitnami/rmq-default-credential-updater
credentialUpdaterImage.tagRabbitMQ Default User Credential Updater Image tag (immutable tags are recommended)1.0.2-scratch-r0
credentialUpdaterImage.pullSecretsRabbitMQ Default User Credential Updater Image pull secrets[]
clusterOperator.image.registryRabbitMQ Cluster Operator image registrydocker.io
clusterOperator.image.repositoryRabbitMQ Cluster Operator image repositorybitnami/rabbitmq-cluster-operator
clusterOperator.image.tagRabbitMQ Cluster Operator image tag (immutable tags are recommended)1.12.1-scratch-r2
clusterOperator.image.pullPolicyRabbitMQ Cluster Operator image pull policyIfNotPresent
clusterOperator.image.pullSecretsRabbitMQ Cluster Operator image pull secrets[]
clusterOperator.replicaCountNumber of RabbitMQ Cluster Operator replicas to deploy1
clusterOperator.schedulerNameAlternative scheduler""
clusterOperator.topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
clusterOperator.terminationGracePeriodSecondsIn seconds, time the given to the %%MAIN_CONTAINER_NAME%% pod needs to terminate gracefully""
clusterOperator.livenessProbe.enabledEnable livenessProbe on RabbitMQ Cluster Operator nodestrue
clusterOperator.livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe5
clusterOperator.livenessProbe.periodSecondsPeriod seconds for livenessProbe30
clusterOperator.livenessProbe.timeoutSecondsTimeout seconds for livenessProbe5
clusterOperator.livenessProbe.failureThresholdFailure threshold for livenessProbe5
clusterOperator.livenessProbe.successThresholdSuccess threshold for livenessProbe1
clusterOperator.readinessProbe.enabledEnable readinessProbe on RabbitMQ Cluster Operator nodestrue
clusterOperator.readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe5
clusterOperator.readinessProbe.periodSecondsPeriod seconds for readinessProbe30
clusterOperator.readinessProbe.timeoutSecondsTimeout seconds for readinessProbe5
clusterOperator.readinessProbe.failureThresholdFailure threshold for readinessProbe5
clusterOperator.readinessProbe.successThresholdSuccess threshold for readinessProbe1
clusterOperator.startupProbe.enabledEnable startupProbe on RabbitMQ Cluster Operator nodesfalse
clusterOperator.startupProbe.initialDelaySecondsInitial delay seconds for startupProbe5
clusterOperator.startupProbe.periodSecondsPeriod seconds for startupProbe30
clusterOperator.startupProbe.timeoutSecondsTimeout seconds for startupProbe5
clusterOperator.startupProbe.failureThresholdFailure threshold for startupProbe5
clusterOperator.startupProbe.successThresholdSuccess threshold for startupProbe1
clusterOperator.customLivenessProbeCustom livenessProbe that overrides the default one{}
clusterOperator.customReadinessProbeCustom readinessProbe that overrides the default one{}
clusterOperator.customStartupProbeCustom startupProbe that overrides the default one{}
clusterOperator.resources.limitsThe resources limits for the RabbitMQ Cluster Operator containers{}
clusterOperator.resources.requestsThe requested resources for the RabbitMQ Cluster Operator containers{}
clusterOperator.podSecurityContext.enabledEnabled RabbitMQ Cluster Operator pods' Security Contexttrue
clusterOperator.podSecurityContext.fsGroupSet RabbitMQ Cluster Operator pod's Security Context fsGroup1001
clusterOperator.containerSecurityContext.enabledEnabled RabbitMQ Cluster Operator containers' Security Contexttrue
clusterOperator.containerSecurityContext.runAsUserSet RabbitMQ Cluster Operator containers' Security Context runAsUser1001
clusterOperator.containerSecurityContext.runAsNonRootForce running the container as non roottrue
clusterOperator.containerSecurityContext.readOnlyRootFilesystemmount / (root) as a readonly filesystem on cluster operator containerstrue
clusterOperator.commandOverride default container command (useful when using custom images)[]
clusterOperator.argsOverride default container args (useful when using custom images)[]
clusterOperator.hostAliasesRabbitMQ Cluster Operator pods host aliases[]
clusterOperator.podLabelsExtra labels for RabbitMQ Cluster Operator pods{}
clusterOperator.podAnnotationsAnnotations for RabbitMQ Cluster Operator pods{}
clusterOperator.podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
clusterOperator.podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
clusterOperator.nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
clusterOperator.nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set""
clusterOperator.nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set[]
clusterOperator.affinityAffinity for RabbitMQ Cluster Operator pods assignment{}
clusterOperator.nodeSelectorNode labels for RabbitMQ Cluster Operator pods assignment{}
clusterOperator.tolerationsTolerations for RabbitMQ Cluster Operator pods assignment[]
clusterOperator.updateStrategy.typeRabbitMQ Cluster Operator statefulset strategy typeRollingUpdate
clusterOperator.priorityClassNameRabbitMQ Cluster Operator pods' priorityClassName""
clusterOperator.lifecycleHooksfor the RabbitMQ Cluster Operator container(s) to automate configuration before or after startup{}
clusterOperator.containerPorts.metricsRabbitMQ Cluster Operator container port (used for metrics)9782
clusterOperator.extraEnvVarsArray with extra environment variables to add to RabbitMQ Cluster Operator nodes[]
clusterOperator.extraEnvVarsCMName of existing ConfigMap containing extra env vars for RabbitMQ Cluster Operator nodes""
clusterOperator.extraEnvVarsSecretName of existing Secret containing extra env vars for RabbitMQ Cluster Operator nodes""
clusterOperator.extraVolumesOptionally specify extra list of additional volumes for the RabbitMQ Cluster Operator pod(s)[]
clusterOperator.extraVolumeMountsOptionally specify extra list of additional volumeMounts for the RabbitMQ Cluster Operator container(s)[]
clusterOperator.sidecarsAdd additional sidecar containers to the RabbitMQ Cluster Operator pod(s)[]
clusterOperator.initContainersAdd additional init containers to the RabbitMQ Cluster Operator pod(s)[]
clusterOperator.rbac.createSpecifies whether RBAC resources should be createdtrue
clusterOperator.serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
clusterOperator.serviceAccount.nameThe name of the ServiceAccount to use.""
clusterOperator.serviceAccount.annotationsAdd annotations{}
clusterOperator.serviceAccount.automountServiceAccountTokenAutomount API credentials for a service account.true

RabbitMQ Cluster Operator Metrics parameters

NameDescriptionValue
clusterOperator.metrics.enabledCreate a service for accessing the metrics endpointfalse
clusterOperator.metrics.service.typeRabbitMQ Cluster Operator metrics service typeClusterIP
clusterOperator.metrics.service.ports.httpRabbitMQ Cluster Operator metrics service HTTP port80
clusterOperator.metrics.service.nodePorts.httpNode port for HTTP""
clusterOperator.metrics.service.clusterIPRabbitMQ Cluster Operator metrics service Cluster IP""
clusterOperator.metrics.service.extraPortsExtra ports to expose (normally used with the sidecar value)[]
clusterOperator.metrics.service.loadBalancerIPRabbitMQ Cluster Operator metrics service Load Balancer IP""
clusterOperator.metrics.service.loadBalancerSourceRangesRabbitMQ Cluster Operator metrics service Load Balancer sources[]
clusterOperator.metrics.service.externalTrafficPolicyRabbitMQ Cluster Operator metrics service external traffic policyCluster
clusterOperator.metrics.service.annotationsAdditional custom annotations for RabbitMQ Cluster Operator metrics service{}
clusterOperator.metrics.service.sessionAffinitySession Affinity for Kubernetes service, can be "None" or "ClientIP"None
clusterOperator.metrics.service.sessionAffinityConfigAdditional settings for the sessionAffinity{}
clusterOperator.metrics.serviceMonitor.enabledSpecify if a servicemonitor will be deployed for prometheus-operatorfalse
clusterOperator.metrics.serviceMonitor.namespaceNamespace which Prometheus is running in""
clusterOperator.metrics.serviceMonitor.jobLabelSpecify the jobLabel to use for the prometheus-operatorapp.kubernetes.io/name
clusterOperator.metrics.serviceMonitor.honorLabelsHonor metrics labelsfalse
clusterOperator.metrics.serviceMonitor.selectorPrometheus instance selector labels{}
clusterOperator.metrics.serviceMonitor.scrapeTimeoutTimeout after which the scrape is ended""
clusterOperator.metrics.serviceMonitor.intervalScrape interval. If not set, the Prometheus default scrape interval is used""
clusterOperator.metrics.serviceMonitor.metricRelabelingsSpecify additional relabeling of metrics[]
clusterOperator.metrics.serviceMonitor.relabelingsSpecify general relabeling[]
clusterOperator.metrics.serviceMonitor.labelsExtra labels for the ServiceMonitor{}

RabbitMQ Messaging Topology Operator Parameters

NameDescriptionValue
msgTopologyOperator.image.registryRabbitMQ Messaging Topology Operator image registrydocker.io
msgTopologyOperator.image.repositoryRabbitMQ Messaging Topology Operator image repositorybitnami/rmq-messaging-topology-operator
msgTopologyOperator.image.tagRabbitMQ Messaging Topology Operator image tag (immutable tags are recommended)1.5.0-scratch-r0
msgTopologyOperator.image.pullPolicyRabbitMQ Messaging Topology Operator image pull policyIfNotPresent
msgTopologyOperator.image.pullSecretsRabbitMQ Messaging Topology Operator image pull secrets[]
msgTopologyOperator.replicaCountNumber of RabbitMQ Messaging Topology Operator replicas to deploy1
msgTopologyOperator.topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
msgTopologyOperator.schedulerNameAlternative scheduler""
msgTopologyOperator.terminationGracePeriodSecondsIn seconds, time the given to the %%MAIN_CONTAINER_NAME%% pod needs to terminate gracefully""
msgTopologyOperator.livenessProbe.enabledEnable livenessProbe on RabbitMQ Messaging Topology Operator nodestrue
msgTopologyOperator.livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe5
msgTopologyOperator.livenessProbe.periodSecondsPeriod seconds for livenessProbe30
msgTopologyOperator.livenessProbe.timeoutSecondsTimeout seconds for livenessProbe5
msgTopologyOperator.livenessProbe.failureThresholdFailure threshold for livenessProbe5
msgTopologyOperator.livenessProbe.successThresholdSuccess threshold for livenessProbe1
msgTopologyOperator.readinessProbe.enabledEnable readinessProbe on RabbitMQ Messaging Topology Operator nodestrue
msgTopologyOperator.readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe5
msgTopologyOperator.readinessProbe.periodSecondsPeriod seconds for readinessProbe30
msgTopologyOperator.readinessProbe.timeoutSecondsTimeout seconds for readinessProbe5
msgTopologyOperator.readinessProbe.failureThresholdFailure threshold for readinessProbe5
msgTopologyOperator.readinessProbe.successThresholdSuccess threshold for readinessProbe1
msgTopologyOperator.startupProbe.enabledEnable startupProbe on RabbitMQ Messaging Topology Operator nodesfalse
msgTopologyOperator.startupProbe.initialDelaySecondsInitial delay seconds for startupProbe5
msgTopologyOperator.startupProbe.periodSecondsPeriod seconds for startupProbe30
msgTopologyOperator.startupProbe.timeoutSecondsTimeout seconds for startupProbe5
msgTopologyOperator.startupProbe.failureThresholdFailure threshold for startupProbe5
msgTopologyOperator.startupProbe.successThresholdSuccess threshold for startupProbe1
msgTopologyOperator.customLivenessProbeCustom livenessProbe that overrides the default one{}
msgTopologyOperator.customReadinessProbeCustom readinessProbe that overrides the default one{}
msgTopologyOperator.customStartupProbeCustom startupProbe that overrides the default one{}
msgTopologyOperator.existingWebhookCertSecretname of a secret containing the certificates (use it to avoid certManager creating one)""
msgTopologyOperator.existingWebhookCertCABundlePEM-encoded CA Bundle of the existing secret provided in existingWebhookCertSecret (only if useCertManager=false)""
msgTopologyOperator.resources.limitsThe resources limits for the RabbitMQ Messaging Topology Operator containers{}
msgTopologyOperator.resources.requestsThe requested resources for the RabbitMQ Messaging Topology Operator containers{}
msgTopologyOperator.podSecurityContext.enabledEnabled RabbitMQ Messaging Topology Operator pods' Security Contexttrue
msgTopologyOperator.podSecurityContext.fsGroupSet RabbitMQ Messaging Topology Operator pod's Security Context fsGroup1001
msgTopologyOperator.containerSecurityContext.enabledEnabled RabbitMQ Messaging Topology Operator containers' Security Contexttrue
msgTopologyOperator.containerSecurityContext.runAsUserSet RabbitMQ Messaging Topology Operator containers' Security Context runAsUser1001
msgTopologyOperator.containerSecurityContext.runAsNonRootForce running the container as non roottrue
msgTopologyOperator.containerSecurityContext.readOnlyRootFilesystemmount / (root) as a readonly filesystem on Messaging Topology Operatortrue
msgTopologyOperator.fullnameOverrideString to fully override rmqco.msgTopologyOperator.fullname template""
msgTopologyOperator.commandOverride default container command (useful when using custom images)[]
msgTopologyOperator.argsOverride default container args (useful when using custom images)[]
msgTopologyOperator.hostAliasesRabbitMQ Messaging Topology Operator pods host aliases[]
msgTopologyOperator.podLabelsExtra labels for RabbitMQ Messaging Topology Operator pods{}
msgTopologyOperator.podAnnotationsAnnotations for RabbitMQ Messaging Topology Operator pods{}
msgTopologyOperator.podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
msgTopologyOperator.podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
msgTopologyOperator.nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
msgTopologyOperator.nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set""
msgTopologyOperator.nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set[]
msgTopologyOperator.affinityAffinity for RabbitMQ Messaging Topology Operator pods assignment{}
msgTopologyOperator.nodeSelectorNode labels for RabbitMQ Messaging Topology Operator pods assignment{}
msgTopologyOperator.tolerationsTolerations for RabbitMQ Messaging Topology Operator pods assignment[]
msgTopologyOperator.updateStrategy.typeRabbitMQ Messaging Topology Operator statefulset strategy typeRollingUpdate
msgTopologyOperator.priorityClassNameRabbitMQ Messaging Topology Operator pods' priorityClassName""
msgTopologyOperator.lifecycleHooksfor the RabbitMQ Messaging Topology Operator container(s) to automate configuration before or after startup{}
msgTopologyOperator.containerPorts.metricsRabbitMQ Messaging Topology Operator container port (used for metrics)8080
msgTopologyOperator.extraEnvVarsArray with extra environment variables to add to RabbitMQ Messaging Topology Operator nodes[]
msgTopologyOperator.extraEnvVarsCMName of existing ConfigMap containing extra env vars for RabbitMQ Messaging Topology Operator nodes""
msgTopologyOperator.extraEnvVarsSecretName of existing Secret containing extra env vars for RabbitMQ Messaging Topology Operator nodes""
msgTopologyOperator.extraVolumesOptionally specify extra list of additional volumes for the RabbitMQ Messaging Topology Operator pod(s)[]
msgTopologyOperator.extraVolumeMountsOptionally specify extra list of additional volumeMounts for the RabbitMQ Messaging Topology Operator container(s)[]
msgTopologyOperator.sidecarsAdd additional sidecar containers to the RabbitMQ Messaging Topology Operator pod(s)[]
msgTopologyOperator.initContainersAdd additional init containers to the RabbitMQ Messaging Topology Operator pod(s)[]
msgTopologyOperator.service.typeRabbitMQ Messaging Topology Operator webhook service typeClusterIP
msgTopologyOperator.service.ports.webhookRabbitMQ Messaging Topology Operator webhook service HTTP port443
msgTopologyOperator.service.nodePorts.httpNode port for HTTP""
msgTopologyOperator.service.clusterIPRabbitMQ Messaging Topology Operator webhook service Cluster IP""
msgTopologyOperator.service.loadBalancerIPRabbitMQ Messaging Topology Operator webhook service Load Balancer IP""
msgTopologyOperator.service.extraPortsExtra ports to expose (normally used with the sidecar value)[]
msgTopologyOperator.service.loadBalancerSourceRangesRabbitMQ Messaging Topology Operator webhook service Load Balancer sources[]
msgTopologyOperator.service.externalTrafficPolicyRabbitMQ Messaging Topology Operator webhook service external traffic policyCluster
msgTopologyOperator.service.annotationsAdditional custom annotations for RabbitMQ Messaging Topology Operator webhook service{}
msgTopologyOperator.service.sessionAffinitySession Affinity for Kubernetes service, can be "None" or "ClientIP"None
msgTopologyOperator.service.sessionAffinityConfigAdditional settings for the sessionAffinity{}
msgTopologyOperator.rbac.createSpecifies whether RBAC resources should be createdtrue
msgTopologyOperator.serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
msgTopologyOperator.serviceAccount.nameThe name of the ServiceAccount to use.""
msgTopologyOperator.serviceAccount.annotationsAdd annotations{}
msgTopologyOperator.serviceAccount.automountServiceAccountTokenAutomount API credentials for a service account.true

RabbitMQ Messaging Topology Operator parameters

NameDescriptionValue
msgTopologyOperator.metrics.enabledCreate a service for accessing the metrics endpointfalse
msgTopologyOperator.metrics.service.typeRabbitMQ Cluster Operator metrics service typeClusterIP
msgTopologyOperator.metrics.service.ports.httpRabbitMQ Cluster Operator metrics service HTTP port80
msgTopologyOperator.metrics.service.nodePorts.httpNode port for HTTP""
msgTopologyOperator.metrics.service.clusterIPRabbitMQ Cluster Operator metrics service Cluster IP""
msgTopologyOperator.metrics.service.extraPortsExtra ports to expose (normally used with the sidecar value)[]
msgTopologyOperator.metrics.service.loadBalancerIPRabbitMQ Cluster Operator metrics service Load Balancer IP""
msgTopologyOperator.metrics.service.loadBalancerSourceRangesRabbitMQ Cluster Operator metrics service Load Balancer sources[]
msgTopologyOperator.metrics.service.externalTrafficPolicyRabbitMQ Cluster Operator metrics service external traffic policyCluster
msgTopologyOperator.metrics.service.annotationsAdditional custom annotations for RabbitMQ Cluster Operator metrics service{}
msgTopologyOperator.metrics.service.sessionAffinitySession Affinity for Kubernetes service, can be "None" or "ClientIP"None
msgTopologyOperator.metrics.service.sessionAffinityConfigAdditional settings for the sessionAffinity{}
msgTopologyOperator.metrics.serviceMonitor.enabledSpecify if a servicemonitor will be deployed for prometheus-operatorfalse
msgTopologyOperator.metrics.serviceMonitor.namespaceNamespace which Prometheus is running in""
msgTopologyOperator.metrics.serviceMonitor.jobLabelSpecify the jobLabel to use for the prometheus-operatorapp.kubernetes.io/name
msgTopologyOperator.metrics.serviceMonitor.selectorPrometheus instance selector labels{}
msgTopologyOperator.metrics.serviceMonitor.honorLabelsHonor metrics labelsfalse
msgTopologyOperator.metrics.serviceMonitor.scrapeTimeoutTimeout after which the scrape is ended""
msgTopologyOperator.metrics.serviceMonitor.intervalScrape interval. If not set, the Prometheus default scrape interval is used""
msgTopologyOperator.metrics.serviceMonitor.metricRelabelingsSpecify additional relabeling of metrics[]
msgTopologyOperator.metrics.serviceMonitor.relabelingsSpecify general relabeling[]
msgTopologyOperator.metrics.serviceMonitor.labelsExtra labels for the ServiceMonitor{}

cert-manager parameters

NameDescriptionValue
useCertManagerDeploy cert-manager objects (Issuer and Certificate) for webhooksfalse

See readme-generator-for-helm to create the table.

The above parameters map to the env variables defined in bitnami/rabbitmq-cluster-operator. For more information please refer to the bitnami/rabbitmq-cluster-operator image documentation.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install my-release \
  --set livenessProbe.enabled=false \
    bitnami/rabbitmq-cluster-operator

The above command disables the Operator liveness probes.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm install my-release -f values.yaml bitnami/rabbitmq-cluster-operator

Tip: You can use the default values.yaml

Configuration and installation details

Rolling VS Immutable tags

It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image.

Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.

Additional environment variables

In case you want to add extra environment variables (useful for advanced operations like custom init scripts), you can use the extraEnvVars property.

rabbitmq-cluster-operator:
  extraEnvVars:
    - name: LOG_LEVEL
      value: error

Alternatively, you can use a ConfigMap or a Secret with the environment variables. To do so, use the extraEnvVarsCM or the extraEnvVarsSecret values.

Sidecars

If additional containers are needed in the same pod as rabbitmq-cluster-operator (such as additional metrics or logging exporters), they can be defined using the sidecars parameter. If these sidecars export extra ports, extra port definitions can be added using the service.extraPorts parameter. Learn more about configuring and using sidecar containers.

Pod affinity

This chart allows you to set your custom affinity using the affinity parameter. Find more information about Pod affinity in the kubernetes documentation.

As an alternative, use one of the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the bitnami/common chart. To do so, set the podAffinityPreset, podAntiAffinityPreset, or nodeAffinityPreset parameters.

Deploying extra resources

There are cases where you may want to deploy extra objects, such your custom RabbitmqCluster objects. For covering this case, the chart allows adding the full specification of other objects using the extraDeploy parameter.

For instance, to deploy your custom RabbitmqCluster definition, you can install the RabbitMQ Cluster Operator using the values below:

extraDeploy:
  - apiVersion: rabbitmq.com/v1beta1
    kind: RabbitmqCluster
    metadata:
      name: rabbitmq-custom-configuration
    spec:
      replicas: 1
      rabbitmq:
        additionalConfig: |
          log.console.level = debug

Troubleshooting

Find more information about how to deal with common errors related to Bitnami's Helm charts in this troubleshooting guide.

Upgrading

To 2.0.0

This new version adds the following components:

  • RabbitMQ Messaging Topology Operator: all the settings are inside the msgTopologyOperator section.
  • RabbitMQ Default User Credential Updater sidecar: this enables Hashicorp Vault integration for all RabbitMQCluster instances.
  • cert-manager subchart: this is necessary for the RabbitMQ Messaging Topology Webhooks to work.

As a breaking change, all rabbitmq-cluster-operator deployment values were moved to the clusterOperator section.

No issues are expected during upgrades.

To 1.0.0

The CRD was updated according to the latest changes in the upstream project. Thanks to the improvements in the latest changes, the CRD is not templated anymore abd can be placed under the crds directory following Helm best practices for CRDS.

You need to manually delete the old CRD before upgrading the release.

kubectl delete crd rabbitmqclusters.rabbitmq.com
helm upgrade my-release bitnami/rabbitmq-cluster-operator

License

Copyright © 2022 Bitnami

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.