rabbitmq-cluster-operator
by CloudPirates
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
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.defaultStorageClass | Global default StorageClass for Persistent Volume(s) | "" |
global.storageClass | DEPRECATED: use global.defaultStorageClass instead | "" |
global.compatibility.openshift.adaptSecurityContext | Adapt 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
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
namespaceOverride | String to override the namespace for all resources | "" |
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 |
RabbitMQ Cluster Operator Configuration
| Name | Description | Value |
|---|---|---|
rabbitmqImage.registry | RabbitMQ Image registry | REGISTRY_NAME |
rabbitmqImage.repository | RabbitMQ Image repository | REPOSITORY_NAME/rabbitmq |
rabbitmqImage.tag | RabbitMQ Image tag (immutable tags are recommended) | 4.3.2-management-alpine |
rabbitmqImage.pullSecrets | RabbitMQ Image pull secrets | [] |
credentialUpdaterImage.registry | RabbitMQ Default User Credential Updater image registry | REGISTRY_NAME |
credentialUpdaterImage.repository | RabbitMQ Default User Credential Updater image repository | REPOSITORY_NAME/rmq-default-credential-updater |
credentialUpdaterImage.tag | RabbitMQ Default User Credential Updater image tag (immutable tags are recommended) | 1.0.15 |
credentialUpdaterImage.pullSecrets | RabbitMQ Default User Credential Updater image pull secrets | [] |
clusterOperator.image.registry | RabbitMQ Cluster Operator image registry | REGISTRY_NAME |
clusterOperator.image.repository | RabbitMQ Cluster Operator image repository | REPOSITORY_NAME/rabbitmq-cluster-operator |
clusterOperator.image.tag | RabbitMQ Cluster Operator image tag (immutable tags are recommended) | 2.22.1 |
clusterOperator.image.pullPolicy | RabbitMQ Cluster Operator image pull policy | IfNotPresent |
clusterOperator.image.pullSecrets | RabbitMQ Cluster Operator image pull secrets | [] |
clusterOperator.revisionHistoryLimit | sets number of replicaset to keep in k8s | 10 |
clusterOperator.watchAllNamespaces | Watch for resources in all namespaces | true |
clusterOperator.watchNamespaces | Watch for resources in the given namespaces (ignored if watchAllNamespaces=true) | [] |
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 |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartrabbitmq-cluster-operator is pinned at v0.6.28 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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