rabbitmq-cluster-operator

by CloudPirates

Helm chartv0.6.28App 2.23.3Verified publisher

Kubernetes operator to deploy and manage RabbitMQ clusters.

About this chart

RabbitMQ Cluster Operator

A Helm chart for the RabbitMQ Cluster Operator. This operator manages RabbitMQ clusters on Kubernetes, providing automated provisioning, scaling, and management of RabbitMQ instances.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure (if persistence is enabled)

Installing the Chart

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

$ helm install my-rabbitmq-operator oci://registry-1.docker.io/cloudpirates/rabbitmq-cluster-operator

Or install directly from the local chart:

$ helm install my-rabbitmq-operator ./charts/rabbitmq-cluster-operator

The command deploys the RabbitMQ Cluster Operator on the Kubernetes cluster in the default configuration. The Configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-rabbitmq-operator deployment:

$ helm uninstall my-rabbitmq-operator

The command removes all the Kubernetes components associated with the chart and deletes the release.

Security & Signature Verification

This Helm chart is cryptographically signed with Cosign to ensure authenticity and prevent tampering.

Public Key:

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5U+rM2d3hDjgP5T3cLShuuQIU9vR
Z4/G+Nug6q5vRa+C3qUA1wXjbaJFAfcIrv5VjmYAYOj13shnPpp3Zh4fnQ==
-----END PUBLIC KEY-----

To verify the helm chart before installation, copy the public key to the file cosign.pub and run cosign:

cosign verify --key cosign.pub registry-1.docker.io/cloudpirates/rabbitmq-cluster-operator:<version>

Configuration

The following table lists the configurable values of the RabbitMQ chart and their defaults.

Global Configuration

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.defaultStorageClassGlobal default StorageClass for Persistent Volume(s)""
global.storageClassDEPRECATED: use global.defaultStorageClass instead""
global.compatibility.openshift.adaptSecurityContextAdapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)auto

Common Configuration

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
namespaceOverrideString to override the namespace for all resources""
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 Configuration

NameDescriptionValue
rabbitmqImage.registryRabbitMQ Image registryREGISTRY_NAME
rabbitmqImage.repositoryRabbitMQ Image repositoryREPOSITORY_NAME/rabbitmq
rabbitmqImage.tagRabbitMQ Image tag (immutable tags are recommended)4.3.2-management-alpine
rabbitmqImage.pullSecretsRabbitMQ Image pull secrets[]
credentialUpdaterImage.registryRabbitMQ Default User Credential Updater image registryREGISTRY_NAME
credentialUpdaterImage.repositoryRabbitMQ Default User Credential Updater image repositoryREPOSITORY_NAME/rmq-default-credential-updater
credentialUpdaterImage.tagRabbitMQ Default User Credential Updater image tag (immutable tags are recommended)1.0.15
credentialUpdaterImage.pullSecretsRabbitMQ Default User Credential Updater image pull secrets[]
clusterOperator.image.registryRabbitMQ Cluster Operator image registryREGISTRY_NAME
clusterOperator.image.repositoryRabbitMQ Cluster Operator image repositoryREPOSITORY_NAME/rabbitmq-cluster-operator
clusterOperator.image.tagRabbitMQ Cluster Operator image tag (immutable tags are recommended)2.22.1
clusterOperator.image.pullPolicyRabbitMQ Cluster Operator image pull policyIfNotPresent
clusterOperator.image.pullSecretsRabbitMQ Cluster Operator image pull secrets[]
clusterOperator.revisionHistoryLimitsets number of replicaset to keep in k8s10
clusterOperator.watchAllNamespacesWatch for resources in all namespacestrue
clusterOperator.watchNamespacesWatch for resources in the given namespaces (ignored if watchAllNamespaces=true)[]
clusterOperator.replicaCountNumber of RabbitMQ Cluster Operator replicas to deploy1
clusterOperator.schedulerNameAlternative scheduler""
clusterOperator.topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
clusterOperator.terminationGracePeriodSeconds

Deploy rabbitmq-cluster-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rabbitmq-cluster-operator 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-cluster-operator is pinned at v0.6.28 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