rabbitmq-cluster-operator
by KlickTipp
Helm chartv0.4.8App 2.23.0Apache-2.0Verified publisher
Helm chart to deploy the official RabbitMQ Cluster Operator and optionally include the Messaging Topology Operator chart.
About this chart
rabbitmq-cluster-operator
Helm chart to deploy the official RabbitMQ Cluster Operator and optionally include the Messaging Topology Operator chart.
Homepage: https://www.rabbitmq.com/kubernetes/operator/operator-overview.html
Source Code
- https://github.com/klicktipp/helm-charts
- https://www.rabbitmq.com/kubernetes/operator/operator-overview.html
- https://github.com/rabbitmq/cluster-operator
- https://github.com/rabbitmq/messaging-topology-operator
Requirements
| Repository | Name | Version |
|---|---|---|
| file://../rabbitmq-topology-operator | msgTopologyOperator(rabbitmq-topology-operator) | 0.4.3 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| global | object | {"compatibility":{"openshift":{"adaptSecurityContext":"auto"}},"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":"","storageClass":""} | Global settings that override per-image configuration where supported. |
| global.imageRegistry | string | "" | Global Docker image registry |
| global.imagePullSecrets | list | [] | Global Docker registry secret names as an array. |
| global.defaultStorageClass | string | "" | Global default StorageClass for Persistent Volume(s) |
| global.storageClass | string | "" | Compatibility alias for the global default StorageClass |
| global.compatibility | object | {"openshift":{"adaptSecurityContext":"auto"}} | Compatibility settings for specific Kubernetes platforms |
| global.compatibility.openshift | object | {"adaptSecurityContext":"auto"} | Compatibility settings for OpenShift |
| global.compatibility.openshift.adaptSecurityContext | string | "auto" | Adjust securityContext settings for OpenShift restricted-v2 SCC. Possible values: auto, force, disabled. |
| kubeVersion | string | "" | Override Kubernetes version |
| nameOverride | string | "" | Override the chart name used in resource names |
| fullnameOverride | string | "" | Fully override the generated resource names |
| commonLabels | object | {} | Additional labels to add to all rendered resources |
| commonAnnotations | object | {} | Additional annotations to add to all rendered resources |
| clusterDomain | string | "cluster.local" | Kubernetes cluster domain name |
| extraDeploy | list | [] | Additional Kubernetes manifests to deploy with this release |
| diagnosticMode | object | {"enabled":false} | Enable diagnostic mode in the operator deployments |
| diagnosticMode.enabled | bool | false | Enable diagnostic mode (all probes will be disabled) |
| rabbitmqImage.registry | string | "" | RabbitMQ Image registry |
| rabbitmqImage.repository | string | "rabbitmq" | RabbitMQ Image repository |
| rabbitmqImage.tag | string | "4.3-management-alpine" | RabbitMQ Image tag (immutable tags are recommended) |
| rabbitmqImage.digest | string | "" | RabbitMQ image digest in the form sha256:...; overrides rabbitmqImage.tag when set |
| rabbitmqImage.pullSecrets | list | [] | RabbitMQ Image pull secrets |
| credentialUpdaterImage | object | {"digest":"","pullSecrets":[],"registry":"ghcr.io","repository":"rabbitmq/default-user-credential-updater","tag":"1.0.17"} | RabbitMQ Default User Credential Updater image |
| credentialUpdaterImage.registry | string | "ghcr.io" | RabbitMQ Default User Credential Updater image registry |
| credentialUpdaterImage.repository | string | "rabbitmq/default-user-credential-updater" | RabbitMQ Default User Credential Updater image repository |
| credentialUpdaterImage.tag | string | "1.0.17" | RabbitMQ Default User Credential Updater image tag (immutable tags are recommended) |
| credentialUpdaterImage.digest | string | "" | Credential updater image digest in the form sha256:...; overrides credentialUpdaterImage.tag when set |
| credentialUpdaterImage.pullSecrets | list | [] | RabbitMQ Default User Credential Updater image pull secrets |
| clusterOperator | object | {"affinity":{},"args":[],"automountServiceAccountToken":true,"command":[],"containerPorts":{"metrics":9782,"webhook":9443},"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":true,"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":1001,"runAsNonRoot":true,"runAsUser":1001,"seLinuxOptions":{},"seccompProfile":{"type":"RuntimeDefault"}},"crdUpgrade":{"annotations":{},"backoffLimit":1,"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"klicktipp/kubectl","tag":"1.36.3"},"resources":{}},"customLivenessProbe":{},"customReadinessProbe":{},"customStartupProbe":{},"extraEnvVars":[],"extraEnvVarsCM":"","extraEnvVarsSecret":"","extraVolumeMounts":[],"extraVolumes":[],"hostAliases":[],"image":{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"rabbitmq/cluster-operator","tag":""},"initContainers":[],"lifecycleHooks":{},"livenessProbe":{"enabled":true,"failureThreshold":5,"initialDelaySeconds":5,"periodSeconds":30,"successThreshold":1,"timeoutSeconds":5},"networkPolicy":{"allowExternal":true,"allowExternalEgress":true,"enabled":true,"extraEgress":[],"extraIngress":[],"ingressNSMatchLabels":{},"ingressNSPodMatchLabels":{},"kubeAPIServerPorts":[443,6443,8443]},"nodeSelector":{},"pdb":{"create":true,"maxUnavailable":"","minAvailable":""},"podAnnotations":{},"podLabels":{},"podSecurityContext":{"enabled":true,"fsGroup":1001,"fsGroupChangePolicy":"Always","supplementalGroups":[],"sysctls":[]},"priorityClassName":"","rbac":{"clusterRole":{"customRules":[],"extraRules":[]},"create":true},"readinessProbe":{"enabled":true,"failureThreshold":5,"initialDelaySeconds":5,"periodSeconds":30,"successThreshold":1,"timeoutSeconds":5},"replicaCount":1,"resources":{},"revisionHistoryLimit":10,"schedulerName":"","serviceAccount":{"annotations":{},"automountServiceAccountToken":false,"create":true,"name":""},"sidecars":[],"startupProbe":{"enabled":false,"failureThreshold":5,"initialDelaySeconds":5,"periodSeconds":30,"successThreshold":1,"timeoutSeconds":5},"terminationGracePeriodSeconds":"","tolerations":[],"topologySpreadConstraints":[],"updateStrategy":{"type":"RollingUpdate"},"watchAllNamespaces":true,"watchNamespaces":[],"webhook":{"existingWebhookCertCABundle":"","existingWebhookCertSecret":"","skipCreateAdmissionWebhookConfig":false,"useCertManager":false}} | Cluster Operator image |
| clusterOperator.image.registry | string | "ghcr.io" | RabbitMQ Cluster Operator image registry |
| clusterOperator.image.repository | string | "rabbitmq/cluster-operator" | RabbitMQ Cluster Operator image repository |
| clusterOperator.image.tag | string | "" | RabbitMQ Cluster Operator image tag. When empty, .Chart.AppVersion is used |
| clusterOperator.image.digest | string | "" | Cluster Operator image digest in the form sha256:...; overrides clusterOperator.image.tag when set |
| clusterOperator.image.pullPolicy | string | "IfNotPresent" | Kubernetes image pull policy |
| clusterOperator.image.pullSecrets | list | [] | RabbitMQ Cluster Operator image pull secrets |
| clusterOperator.crdUpgrade | object | {"annotations":{},"backoffLimit":1,"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"klicktipp/kubectl","tag":"1.36.3"},"resources":{}} | CRD upgrade hook configuration. |
| clusterOperator.crdUpgrade.enabled | bool | true | Enable the pre-upgrade hook that reapplies CRDs with kubectl. |
| clusterOperator.crdUpgrade.image | object | {"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"klicktipp/kubectl","tag":"1.36.3"} | Kubectl image used by the CRD upgrade hook. |
| clusterOperator.crdUpgrade.image.registry | string | "ghcr.io" | Kubectl image registry. |
| clusterOperator.crdUpgrade.image.repository | string | "klicktipp/kubectl" | Kubectl image repository. |
| clusterOperator.crdUpgrade.image.tag | string | "1.36.3" | Kubectl image tag. |
| clusterOperator.crdUpgrade.image.digest | string | "" | Kubectl image digest in the form sha256:...; overrides clusterOperator.crdUpgrade.image.tag when set. |
| clusterOperator.crdUpgrade.image.pullPolicy | string | "IfNotPresent" | Image pull policy for the CRD upgrade hook. |
| clusterOperator.crdUpgrade.image.pullSecrets | list | [] | Image pull secrets for the CRD upgrade hook. |
| clusterOperator.crdUpgrade.annotations | object | {} | Annotations added to CRD upgrade hook resources. |
| clusterOperator.crdUpgrade.resources | object | {} | Resource requests and limits for the CRD upgrade hook job. |
| clusterOperator.crdUpgrade.backoffLimit | int | 1 | Number of retries before the CRD upgrade hook job is marked as failed. |
| clusterOperator.revisionHistoryLimit | int | 10 | Number of old ReplicaSets to retain |
| clusterOperator.watchAllNamespaces | bool | true | Watch resources across all namespaces |
| clusterOperator.watchNamespaces | list | [] | List of namespaces to watch when clusterOperator.watchAllNamespaces=false |
| clusterOperator.replicaCount | int | 1 | Number of RabbitMQ Cluster Operator replicas to deploy |
| clusterOperator.schedulerName | string | "" | Scheduler name to use for Cluster Operator pods |
| clusterOperator.topologySpreadConstraints | list | [] | The value is evaluated as a template |
| clusterOperator.terminationGracePeriodSeconds | string | "" | Time in seconds to allow the Cluster Operator pod to terminate gracefully |
| clusterOperator.livenessProbe | object | {"enabled":true,"failureThreshold":5,"initialDelaySeconds":5,"periodSeconds":30,"successThreshold":1,"timeoutSeconds":5} | Health probes for the Cluster Operator container |
| clusterOperator.livenessProbe.enabled | bool | true | Enable livenessProbe on RabbitMQ Cluster Operator nodes |
| clusterOperator.livenessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for livenessProbe |
| clusterOperator.livenessProbe.periodSeconds | int | 30 | Period seconds for livenessProbe |
| clusterOperator.livenessProbe.timeoutSeconds | int | 5 | Timeout seconds for livenessProbe |
| clusterOperator.livenessProbe.failureThreshold | int | 5 | Failure threshold for livenessProbe |
| clusterOperator.livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| clusterOperator.readinessProbe.enabled | bool | true | Enable readinessProbe on RabbitMQ Cluster Operator nodes |
| clusterOperator.readinessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for readinessProbe |
| clusterOperator.readinessProbe.periodSeconds | int | 30 | Period seconds for readinessProbe |
| clusterOperator.readinessProbe.timeoutSeconds | int | 5 | Timeout seconds for readinessProbe |
| clusterOperator.readinessProbe.successThreshold | int | 1 | Success threshold for readinessProbe |
| clusterOperator.readinessProbe.failureThreshold | int | 5 | Failure threshold for readinessProbe |
| clusterOperator.startupProbe.enabled | bool | false | Enable startupProbe on RabbitMQ Cluster Operator nodes |
| clusterOperator.startupProbe.initialDelaySeconds | int | 5 | Initial delay seconds for startupProbe |
| clusterOperator.startupProbe.periodSeconds | int | 30 | Period seconds for startupProbe |
| clusterOperator.startupProbe.timeoutSeconds | int | 5 | Timeout seconds for startupProbe |
| clusterOperator.startupProbe.successThreshold | int | 1 | Success threshold for startupProbe |
| clusterOperator.startupProbe.failureThreshold | int | 5 | Failure threshold for startupProbe |
| clusterOperator.customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| clusterOperator.customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| clusterOperator.customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| clusterOperator.resources | object | {} | Container resource requests and limits. |
| clusterOperator.pdb | object | {"create":true,"maxUnavailable":"","minAvailable":""} | PodDisruptionBudget settings for the Cluster Operator |
| clusterOperator.pdb.create | bool | true | Enable a Pod Disruption Budget creation |
| clusterOperator.pdb.minAvailable | string | "" | Minimum number/percentage of pods that should remain scheduled |
| clusterOperator.pdb.maxUnavailable | string | "" | Maximum number/percentage of pods that may be made unavailable |
| clusterOperator.podSecurityContext | object | {"enabled":true,"fsGroup":1001,"fsGroupChangePolicy":"Always","supplementalGroups":[],"sysctls":[]} | Pod security context for the Cluster Operator pod |
| clusterOperator.podSecurityContext.enabled | bool | true | Enable the pod security context for the Cluster Operator |
| clusterOperator.podSecurityContext.fsGroupChangePolicy | string | "Always" | Set filesystem group change policy |
| clusterOperator.podSecurityContext.sysctls | list | [] | Set kernel settings using the sysctl interface |
| clusterOperator.podSecurityContext.supplementalGroups | list | [] | Set filesystem extra groups |
| clusterOperator.podSecurityContext.fsGroup | int | 1001 | Set RabbitMQ Cluster Operator pod's Security Context fsGroup |
| clusterOperator.containerSecurityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":true,"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":1001,"runAsNonRoot":true,"runAsUser":1001,"seLinuxOptions":{},"seccompProfile":{"type":"RuntimeDefault"}} | Container security context for the Cluster Operator container |
| clusterOper |
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.4.8 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