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.
$ helm repo add bitnami https://charts.bitnami.com/bitnami $ helm install my-release bitnami/rabbitmq-cluster-operator
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.
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
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.
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.
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) | "" |
Name | Description | Value |
---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled) | false |
Name | Description | Value |
---|---|---|
rabbitmqImage.registry | RabbitMQ Image registry | docker.io |
rabbitmqImage.repository | RabbitMQ Image repository | bitnami/rabbitmq |
rabbitmqImage.tag | RabbitMQ Image tag (immutable tags are recommended) | 3.8.28-debian-10-r1 |
rabbitmqImage.pullSecrets | RabbitMQ Image pull secrets | [] |
credentialUpdaterImage.registry | RabbitMQ Default User Credential Updater Image registry | docker.io |
credentialUpdaterImage.repository | RabbitMQ Default User Credential Updater Image repository | bitnami/rmq-default-credential-updater |
credentialUpdaterImage.tag | RabbitMQ Default User Credential Updater Image tag (immutable tags are recommended) | 1.0.2-scratch-r0 |
credentialUpdaterImage.pullSecrets | RabbitMQ Default User Credential Updater Image pull secrets | [] |
clusterOperator.image.registry | RabbitMQ Cluster Operator image registry | docker.io |
clusterOperator.image.repository | RabbitMQ Cluster Operator image repository | bitnami/rabbitmq-cluster-operator |
clusterOperator.image.tag | RabbitMQ Cluster Operator image tag (immutable tags are recommended) | 1.12.1-scratch-r2 |
clusterOperator.image.pullPolicy | RabbitMQ Cluster Operator image pull policy | IfNotPresent |
clusterOperator.image.pullSecrets | RabbitMQ Cluster Operator image pull secrets | [] |
clusterOperator.replicaCount | Number of RabbitMQ Cluster Operator replicas to deploy | 1 |
clusterOperator.schedulerName | Alternative scheduler | "" |
clusterOperator.topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
clusterOperator.terminationGracePeriodSeconds | In seconds, time the given to the %%MAIN_CONTAINER_NAME%% pod needs to terminate gracefully | "" |
clusterOperator.livenessProbe.enabled | Enable livenessProbe on RabbitMQ Cluster Operator nodes | true |
clusterOperator.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 5 |
clusterOperator.livenessProbe.periodSeconds | Period seconds for livenessProbe | 30 |
clusterOperator.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
clusterOperator.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 5 |
clusterOperator.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
clusterOperator.readinessProbe.enabled | Enable readinessProbe on RabbitMQ Cluster Operator nodes | true |
clusterOperator.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
clusterOperator.readinessProbe.periodSeconds | Period seconds for readinessProbe | 30 |
clusterOperator.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 5 |
clusterOperator.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 5 |
clusterOperator.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
clusterOperator.startupProbe.enabled | Enable startupProbe on RabbitMQ Cluster Operator nodes | false |
clusterOperator.startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 5 |
clusterOperator.startupProbe.periodSeconds | Period seconds for startupProbe | 30 |
clusterOperator.startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
clusterOperator.startupProbe.failureThreshold | Failure threshold for startupProbe | 5 |
clusterOperator.startupProbe.successThreshold | Success threshold for startupProbe | 1 |
clusterOperator.customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
clusterOperator.customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
clusterOperator.customStartupProbe | Custom startupProbe that overrides the default one | {} |
clusterOperator.resources.limits | The resources limits for the RabbitMQ Cluster Operator containers | {} |
clusterOperator.resources.requests | The requested resources for the RabbitMQ Cluster Operator containers | {} |
clusterOperator.podSecurityContext.enabled | Enabled RabbitMQ Cluster Operator pods' Security Context | true |
clusterOperator.podSecurityContext.fsGroup | Set RabbitMQ Cluster Operator pod's Security Context fsGroup | 1001 |
clusterOperator.containerSecurityContext.enabled | Enabled RabbitMQ Cluster Operator containers' Security Context | true |
clusterOperator.containerSecurityContext.runAsUser | Set RabbitMQ Cluster Operator containers' Security Context runAsUser | 1001 |
clusterOperator.containerSecurityContext.runAsNonRoot | Force running the container as non root | true |
clusterOperator.containerSecurityContext.readOnlyRootFilesystem | mount / (root) as a readonly filesystem on cluster operator containers | true |
clusterOperator.command | Override default container command (useful when using custom images) | [] |
clusterOperator.args | Override default container args (useful when using custom images) | [] |
clusterOperator.hostAliases | RabbitMQ Cluster Operator pods host aliases | [] |
clusterOperator.podLabels | Extra labels for RabbitMQ Cluster Operator pods | {} |
clusterOperator.podAnnotations | Annotations for RabbitMQ Cluster Operator pods | {} |
clusterOperator.podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
clusterOperator.podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
clusterOperator.nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
clusterOperator.nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
clusterOperator.nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
clusterOperator.affinity | Affinity for RabbitMQ Cluster Operator pods assignment | {} |
clusterOperator.nodeSelector | Node labels for RabbitMQ Cluster Operator pods assignment | {} |
clusterOperator.tolerations | Tolerations for RabbitMQ Cluster Operator pods assignment | [] |
clusterOperator.updateStrategy.type | RabbitMQ Cluster Operator statefulset strategy type | RollingUpdate |
clusterOperator.priorityClassName | RabbitMQ Cluster Operator pods' priorityClassName | "" |
clusterOperator.lifecycleHooks | for the RabbitMQ Cluster Operator container(s) to automate configuration before or after startup | {} |
clusterOperator.containerPorts.metrics | RabbitMQ Cluster Operator container port (used for metrics) | 9782 |
clusterOperator.extraEnvVars | Array with extra environment variables to add to RabbitMQ Cluster Operator nodes | [] |
clusterOperator.extraEnvVarsCM | Name of existing ConfigMap containing extra env vars for RabbitMQ Cluster Operator nodes | "" |
clusterOperator.extraEnvVarsSecret | Name of existing Secret containing extra env vars for RabbitMQ Cluster Operator nodes | "" |
clusterOperator.extraVolumes | Optionally specify extra list of additional volumes for the RabbitMQ Cluster Operator pod(s) | [] |
clusterOperator.extraVolumeMounts | Optionally specify extra list of additional volumeMounts for the RabbitMQ Cluster Operator container(s) | [] |
clusterOperator.sidecars | Add additional sidecar containers to the RabbitMQ Cluster Operator pod(s) | [] |
clusterOperator.initContainers | Add additional init containers to the RabbitMQ Cluster Operator pod(s) | [] |
clusterOperator.rbac.create | Specifies whether RBAC resources should be created | true |
clusterOperator.serviceAccount.create | Specifies whether a ServiceAccount should be created | true |
clusterOperator.serviceAccount.name | The name of the ServiceAccount to use. | "" |
clusterOperator.serviceAccount.annotations | Add annotations | {} |
clusterOperator.serviceAccount.automountServiceAccountToken | Automount API credentials for a service account. | true |
Name | Description | Value |
---|---|---|
clusterOperator.metrics.enabled | Create a service for accessing the metrics endpoint | false |
clusterOperator.metrics.service.type | RabbitMQ Cluster Operator metrics service type | ClusterIP |
clusterOperator.metrics.service.ports.http | RabbitMQ Cluster Operator metrics service HTTP port | 80 |
clusterOperator.metrics.service.nodePorts.http | Node port for HTTP | "" |
clusterOperator.metrics.service.clusterIP | RabbitMQ Cluster Operator metrics service Cluster IP | "" |
clusterOperator.metrics.service.extraPorts | Extra ports to expose (normally used with the sidecar value) | [] |
clusterOperator.metrics.service.loadBalancerIP | RabbitMQ Cluster Operator metrics service Load Balancer IP | "" |
clusterOperator.metrics.service.loadBalancerSourceRanges | RabbitMQ Cluster Operator metrics service Load Balancer sources | [] |
clusterOperator.metrics.service.externalTrafficPolicy | RabbitMQ Cluster Operator metrics service external traffic policy | Cluster |
clusterOperator.metrics.service.annotations | Additional custom annotations for RabbitMQ Cluster Operator metrics service | {} |
clusterOperator.metrics.service.sessionAffinity | Session Affinity for Kubernetes service, can be "None" or "ClientIP" | None |
clusterOperator.metrics.service.sessionAffinityConfig | Additional settings for the sessionAffinity | {} |
clusterOperator.metrics.serviceMonitor.enabled | Specify if a servicemonitor will be deployed for prometheus-operator | false |
clusterOperator.metrics.serviceMonitor.namespace | Namespace which Prometheus is running in | "" |
clusterOperator.metrics.serviceMonitor.jobLabel | Specify the jobLabel to use for the prometheus-operator | app.kubernetes.io/name |
clusterOperator.metrics.serviceMonitor.honorLabels | Honor metrics labels | false |
clusterOperator.metrics.serviceMonitor.selector | Prometheus instance selector labels | {} |
clusterOperator.metrics.serviceMonitor.scrapeTimeout | Timeout after which the scrape is ended | "" |
clusterOperator.metrics.serviceMonitor.interval | Scrape interval. If not set, the Prometheus default scrape interval is used | "" |
clusterOperator.metrics.serviceMonitor.metricRelabelings | Specify additional relabeling of metrics | [] |
clusterOperator.metrics.serviceMonitor.relabelings | Specify general relabeling | [] |
clusterOperator.metrics.serviceMonitor.labels | Extra labels for the ServiceMonitor | {} |
Name | Description | Value |
---|---|---|
msgTopologyOperator.image.registry | RabbitMQ Messaging Topology Operator image registry | docker.io |
msgTopologyOperator.image.repository | RabbitMQ Messaging Topology Operator image repository | bitnami/rmq-messaging-topology-operator |
msgTopologyOperator.image.tag | RabbitMQ Messaging Topology Operator image tag (immutable tags are recommended) | 1.5.0-scratch-r0 |
msgTopologyOperator.image.pullPolicy | RabbitMQ Messaging Topology Operator image pull policy | IfNotPresent |
msgTopologyOperator.image.pullSecrets | RabbitMQ Messaging Topology Operator image pull secrets | [] |
msgTopologyOperator.replicaCount | Number of RabbitMQ Messaging Topology Operator replicas to deploy | 1 |
msgTopologyOperator.topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
msgTopologyOperator.schedulerName | Alternative scheduler | "" |
msgTopologyOperator.terminationGracePeriodSeconds | In seconds, time the given to the %%MAIN_CONTAINER_NAME%% pod needs to terminate gracefully | "" |
msgTopologyOperator.livenessProbe.enabled | Enable livenessProbe on RabbitMQ Messaging Topology Operator nodes | true |
msgTopologyOperator.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 5 |
msgTopologyOperator.livenessProbe.periodSeconds | Period seconds for livenessProbe | 30 |
msgTopologyOperator.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
msgTopologyOperator.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 5 |
msgTopologyOperator.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
msgTopologyOperator.readinessProbe.enabled | Enable readinessProbe on RabbitMQ Messaging Topology Operator nodes | true |
msgTopologyOperator.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
msgTopologyOperator.readinessProbe.periodSeconds | Period seconds for readinessProbe | 30 |
msgTopologyOperator.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 5 |
msgTopologyOperator.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 5 |
msgTopologyOperator.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
msgTopologyOperator.startupProbe.enabled | Enable startupProbe on RabbitMQ Messaging Topology Operator nodes | false |
msgTopologyOperator.startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 5 |
msgTopologyOperator.startupProbe.periodSeconds | Period seconds for startupProbe | 30 |
msgTopologyOperator.startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
msgTopologyOperator.startupProbe.failureThreshold | Failure threshold for startupProbe | 5 |
msgTopologyOperator.startupProbe.successThreshold | Success threshold for startupProbe | 1 |
msgTopologyOperator.customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
msgTopologyOperator.customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
msgTopologyOperator.customStartupProbe | Custom startupProbe that overrides the default one | {} |
msgTopologyOperator.existingWebhookCertSecret | name of a secret containing the certificates (use it to avoid certManager creating one) | "" |
msgTopologyOperator.existingWebhookCertCABundle | PEM-encoded CA Bundle of the existing secret provided in existingWebhookCertSecret (only if useCertManager=false) | "" |
msgTopologyOperator.resources.limits | The resources limits for the RabbitMQ Messaging Topology Operator containers | {} |
msgTopologyOperator.resources.requests | The requested resources for the RabbitMQ Messaging Topology Operator containers | {} |
msgTopologyOperator.podSecurityContext.enabled | Enabled RabbitMQ Messaging Topology Operator pods' Security Context | true |
msgTopologyOperator.podSecurityContext.fsGroup | Set RabbitMQ Messaging Topology Operator pod's Security Context fsGroup | 1001 |
msgTopologyOperator.containerSecurityContext.enabled | Enabled RabbitMQ Messaging Topology Operator containers' Security Context | true |
msgTopologyOperator.containerSecurityContext.runAsUser | Set RabbitMQ Messaging Topology Operator containers' Security Context runAsUser | 1001 |
msgTopologyOperator.containerSecurityContext.runAsNonRoot | Force running the container as non root | true |
msgTopologyOperator.containerSecurityContext.readOnlyRootFilesystem | mount / (root) as a readonly filesystem on Messaging Topology Operator | true |
msgTopologyOperator.fullnameOverride | String to fully override rmqco.msgTopologyOperator.fullname template | "" |
msgTopologyOperator.command | Override default container command (useful when using custom images) | [] |
msgTopologyOperator.args | Override default container args (useful when using custom images) | [] |
msgTopologyOperator.hostAliases | RabbitMQ Messaging Topology Operator pods host aliases | [] |
msgTopologyOperator.podLabels | Extra labels for RabbitMQ Messaging Topology Operator pods | {} |
msgTopologyOperator.podAnnotations | Annotations for RabbitMQ Messaging Topology Operator pods | {} |
msgTopologyOperator.podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
msgTopologyOperator.podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
msgTopologyOperator.nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
msgTopologyOperator.nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
msgTopologyOperator.nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
msgTopologyOperator.affinity | Affinity for RabbitMQ Messaging Topology Operator pods assignment | {} |
msgTopologyOperator.nodeSelector | Node labels for RabbitMQ Messaging Topology Operator pods assignment | {} |
msgTopologyOperator.tolerations | Tolerations for RabbitMQ Messaging Topology Operator pods assignment | [] |
msgTopologyOperator.updateStrategy.type | RabbitMQ Messaging Topology Operator statefulset strategy type | RollingUpdate |
msgTopologyOperator.priorityClassName | RabbitMQ Messaging Topology Operator pods' priorityClassName | "" |
msgTopologyOperator.lifecycleHooks | for the RabbitMQ Messaging Topology Operator container(s) to automate configuration before or after startup | {} |
msgTopologyOperator.containerPorts.metrics | RabbitMQ Messaging Topology Operator container port (used for metrics) | 8080 |
msgTopologyOperator.extraEnvVars | Array with extra environment variables to add to RabbitMQ Messaging Topology Operator nodes | [] |
msgTopologyOperator.extraEnvVarsCM | Name of existing ConfigMap containing extra env vars for RabbitMQ Messaging Topology Operator nodes | "" |
msgTopologyOperator.extraEnvVarsSecret | Name of existing Secret containing extra env vars for RabbitMQ Messaging Topology Operator nodes | "" |
msgTopologyOperator.extraVolumes | Optionally specify extra list of additional volumes for the RabbitMQ Messaging Topology Operator pod(s) | [] |
msgTopologyOperator.extraVolumeMounts | Optionally specify extra list of additional volumeMounts for the RabbitMQ Messaging Topology Operator container(s) | [] |
msgTopologyOperator.sidecars | Add additional sidecar containers to the RabbitMQ Messaging Topology Operator pod(s) | [] |
msgTopologyOperator.initContainers | Add additional init containers to the RabbitMQ Messaging Topology Operator pod(s) | [] |
msgTopologyOperator.service.type | RabbitMQ Messaging Topology Operator webhook service type | ClusterIP |
msgTopologyOperator.service.ports.webhook | RabbitMQ Messaging Topology Operator webhook service HTTP port | 443 |
msgTopologyOperator.service.nodePorts.http | Node port for HTTP | "" |
msgTopologyOperator.service.clusterIP | RabbitMQ Messaging Topology Operator webhook service Cluster IP | "" |
msgTopologyOperator.service.loadBalancerIP | RabbitMQ Messaging Topology Operator webhook service Load Balancer IP | "" |
msgTopologyOperator.service.extraPorts | Extra ports to expose (normally used with the sidecar value) | [] |
msgTopologyOperator.service.loadBalancerSourceRanges | RabbitMQ Messaging Topology Operator webhook service Load Balancer sources | [] |
msgTopologyOperator.service.externalTrafficPolicy | RabbitMQ Messaging Topology Operator webhook service external traffic policy | Cluster |
msgTopologyOperator.service.annotations | Additional custom annotations for RabbitMQ Messaging Topology Operator webhook service | {} |
msgTopologyOperator.service.sessionAffinity | Session Affinity for Kubernetes service, can be "None" or "ClientIP" | None |
msgTopologyOperator.service.sessionAffinityConfig | Additional settings for the sessionAffinity | {} |
msgTopologyOperator.rbac.create | Specifies whether RBAC resources should be created | true |
msgTopologyOperator.serviceAccount.create | Specifies whether a ServiceAccount should be created | true |
msgTopologyOperator.serviceAccount.name | The name of the ServiceAccount to use. | "" |
msgTopologyOperator.serviceAccount.annotations | Add annotations | {} |
msgTopologyOperator.serviceAccount.automountServiceAccountToken | Automount API credentials for a service account. | true |
Name | Description | Value |
---|---|---|
msgTopologyOperator.metrics.enabled | Create a service for accessing the metrics endpoint | false |
msgTopologyOperator.metrics.service.type | RabbitMQ Cluster Operator metrics service type | ClusterIP |
msgTopologyOperator.metrics.service.ports.http | RabbitMQ Cluster Operator metrics service HTTP port | 80 |
msgTopologyOperator.metrics.service.nodePorts.http | Node port for HTTP | "" |
msgTopologyOperator.metrics.service.clusterIP | RabbitMQ Cluster Operator metrics service Cluster IP | "" |
msgTopologyOperator.metrics.service.extraPorts | Extra ports to expose (normally used with the sidecar value) | [] |
msgTopologyOperator.metrics.service.loadBalancerIP | RabbitMQ Cluster Operator metrics service Load Balancer IP | "" |
msgTopologyOperator.metrics.service.loadBalancerSourceRanges | RabbitMQ Cluster Operator metrics service Load Balancer sources | [] |
msgTopologyOperator.metrics.service.externalTrafficPolicy | RabbitMQ Cluster Operator metrics service external traffic policy | Cluster |
msgTopologyOperator.metrics.service.annotations | Additional custom annotations for RabbitMQ Cluster Operator metrics service | {} |
msgTopologyOperator.metrics.service.sessionAffinity | Session Affinity for Kubernetes service, can be "None" or "ClientIP" | None |
msgTopologyOperator.metrics.service.sessionAffinityConfig | Additional settings for the sessionAffinity | {} |
msgTopologyOperator.metrics.serviceMonitor.enabled | Specify if a servicemonitor will be deployed for prometheus-operator | false |
msgTopologyOperator.metrics.serviceMonitor.namespace | Namespace which Prometheus is running in | "" |
msgTopologyOperator.metrics.serviceMonitor.jobLabel | Specify the jobLabel to use for the prometheus-operator | app.kubernetes.io/name |
msgTopologyOperator.metrics.serviceMonitor.selector | Prometheus instance selector labels | {} |
msgTopologyOperator.metrics.serviceMonitor.honorLabels | Honor metrics labels | false |
msgTopologyOperator.metrics.serviceMonitor.scrapeTimeout | Timeout after which the scrape is ended | "" |
msgTopologyOperator.metrics.serviceMonitor.interval | Scrape interval. If not set, the Prometheus default scrape interval is used | "" |
msgTopologyOperator.metrics.serviceMonitor.metricRelabelings | Specify additional relabeling of metrics | [] |
msgTopologyOperator.metrics.serviceMonitor.relabelings | Specify general relabeling | [] |
msgTopologyOperator.metrics.serviceMonitor.labels | Extra labels for the ServiceMonitor | {} |
Name | Description | Value |
---|---|---|
useCertManager | Deploy cert-manager objects (Issuer and Certificate) for webhooks | false |
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
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.
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.
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.
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.
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
Find more information about how to deal with common errors related to Bitnami's Helm charts in this troubleshooting guide.
This new version adds the following components:
msgTopologyOperator
section.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.
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
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.