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

Requirements

RepositoryNameVersion
file://../rabbitmq-topology-operatormsgTopologyOperator(rabbitmq-topology-operator)0.4.3

Values

KeyTypeDefaultDescription
globalobject{"compatibility":{"openshift":{"adaptSecurityContext":"auto"}},"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":"","storageClass":""}Global settings that override per-image configuration where supported.
global.imageRegistrystring""Global Docker image registry
global.imagePullSecretslist[]Global Docker registry secret names as an array.
global.defaultStorageClassstring""Global default StorageClass for Persistent Volume(s)
global.storageClassstring""Compatibility alias for the global default StorageClass
global.compatibilityobject{"openshift":{"adaptSecurityContext":"auto"}}Compatibility settings for specific Kubernetes platforms
global.compatibility.openshiftobject{"adaptSecurityContext":"auto"}Compatibility settings for OpenShift
global.compatibility.openshift.adaptSecurityContextstring"auto"Adjust securityContext settings for OpenShift restricted-v2 SCC. Possible values: auto, force, disabled.
kubeVersionstring""Override Kubernetes version
nameOverridestring""Override the chart name used in resource names
fullnameOverridestring""Fully override the generated resource names
commonLabelsobject{}Additional labels to add to all rendered resources
commonAnnotationsobject{}Additional annotations to add to all rendered resources
clusterDomainstring"cluster.local"Kubernetes cluster domain name
extraDeploylist[]Additional Kubernetes manifests to deploy with this release
diagnosticModeobject{"enabled":false}Enable diagnostic mode in the operator deployments
diagnosticMode.enabledboolfalseEnable diagnostic mode (all probes will be disabled)
rabbitmqImage.registrystring""RabbitMQ Image registry
rabbitmqImage.repositorystring"rabbitmq"RabbitMQ Image repository
rabbitmqImage.tagstring"4.3-management-alpine"RabbitMQ Image tag (immutable tags are recommended)
rabbitmqImage.digeststring""RabbitMQ image digest in the form sha256:...; overrides rabbitmqImage.tag when set
rabbitmqImage.pullSecretslist[]RabbitMQ Image pull secrets
credentialUpdaterImageobject{"digest":"","pullSecrets":[],"registry":"ghcr.io","repository":"rabbitmq/default-user-credential-updater","tag":"1.0.17"}RabbitMQ Default User Credential Updater image
credentialUpdaterImage.registrystring"ghcr.io"RabbitMQ Default User Credential Updater image registry
credentialUpdaterImage.repositorystring"rabbitmq/default-user-credential-updater"RabbitMQ Default User Credential Updater image repository
credentialUpdaterImage.tagstring"1.0.17"RabbitMQ Default User Credential Updater image tag (immutable tags are recommended)
credentialUpdaterImage.digeststring""Credential updater image digest in the form sha256:...; overrides credentialUpdaterImage.tag when set
credentialUpdaterImage.pullSecretslist[]RabbitMQ Default User Credential Updater image pull secrets
clusterOperatorobject{"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.registrystring"ghcr.io"RabbitMQ Cluster Operator image registry
clusterOperator.image.repositorystring"rabbitmq/cluster-operator"RabbitMQ Cluster Operator image repository
clusterOperator.image.tagstring""RabbitMQ Cluster Operator image tag. When empty, .Chart.AppVersion is used
clusterOperator.image.digeststring""Cluster Operator image digest in the form sha256:...; overrides clusterOperator.image.tag when set
clusterOperator.image.pullPolicystring"IfNotPresent"Kubernetes image pull policy
clusterOperator.image.pullSecretslist[]RabbitMQ Cluster Operator image pull secrets
clusterOperator.crdUpgradeobject{"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.enabledbooltrueEnable the pre-upgrade hook that reapplies CRDs with kubectl.
clusterOperator.crdUpgrade.imageobject{"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.registrystring"ghcr.io"Kubectl image registry.
clusterOperator.crdUpgrade.image.repositorystring"klicktipp/kubectl"Kubectl image repository.
clusterOperator.crdUpgrade.image.tagstring"1.36.3"Kubectl image tag.
clusterOperator.crdUpgrade.image.digeststring""Kubectl image digest in the form sha256:...; overrides clusterOperator.crdUpgrade.image.tag when set.
clusterOperator.crdUpgrade.image.pullPolicystring"IfNotPresent"Image pull policy for the CRD upgrade hook.
clusterOperator.crdUpgrade.image.pullSecretslist[]Image pull secrets for the CRD upgrade hook.
clusterOperator.crdUpgrade.annotationsobject{}Annotations added to CRD upgrade hook resources.
clusterOperator.crdUpgrade.resourcesobject{}Resource requests and limits for the CRD upgrade hook job.
clusterOperator.crdUpgrade.backoffLimitint1Number of retries before the CRD upgrade hook job is marked as failed.
clusterOperator.revisionHistoryLimitint10Number of old ReplicaSets to retain
clusterOperator.watchAllNamespacesbooltrueWatch resources across all namespaces
clusterOperator.watchNamespaceslist[]List of namespaces to watch when clusterOperator.watchAllNamespaces=false
clusterOperator.replicaCountint1Number of RabbitMQ Cluster Operator replicas to deploy
clusterOperator.schedulerNamestring""Scheduler name to use for Cluster Operator pods
clusterOperator.topologySpreadConstraintslist[]The value is evaluated as a template
clusterOperator.terminationGracePeriodSecondsstring""Time in seconds to allow the Cluster Operator pod to terminate gracefully
clusterOperator.livenessProbeobject{"enabled":true,"failureThreshold":5,"initialDelaySeconds":5,"periodSeconds":30,"successThreshold":1,"timeoutSeconds":5}Health probes for the Cluster Operator container
clusterOperator.livenessProbe.enabledbooltrueEnable livenessProbe on RabbitMQ Cluster Operator nodes
clusterOperator.livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
clusterOperator.livenessProbe.periodSecondsint30Period seconds for livenessProbe
clusterOperator.livenessProbe.timeoutSecondsint5Timeout seconds for livenessProbe
clusterOperator.livenessProbe.failureThresholdint5Failure threshold for livenessProbe
clusterOperator.livenessProbe.successThresholdint1Success threshold for livenessProbe
clusterOperator.readinessProbe.enabledbooltrueEnable readinessProbe on RabbitMQ Cluster Operator nodes
clusterOperator.readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
clusterOperator.readinessProbe.periodSecondsint30Period seconds for readinessProbe
clusterOperator.readinessProbe.timeoutSecondsint5Timeout seconds for readinessProbe
clusterOperator.readinessProbe.successThresholdint1Success threshold for readinessProbe
clusterOperator.readinessProbe.failureThresholdint5Failure threshold for readinessProbe
clusterOperator.startupProbe.enabledboolfalseEnable startupProbe on RabbitMQ Cluster Operator nodes
clusterOperator.startupProbe.initialDelaySecondsint5Initial delay seconds for startupProbe
clusterOperator.startupProbe.periodSecondsint30Period seconds for startupProbe
clusterOperator.startupProbe.timeoutSecondsint5Timeout seconds for startupProbe
clusterOperator.startupProbe.successThresholdint1Success threshold for startupProbe
clusterOperator.startupProbe.failureThresholdint5Failure threshold for startupProbe
clusterOperator.customLivenessProbeobject{}Custom livenessProbe that overrides the default one
clusterOperator.customReadinessProbeobject{}Custom readinessProbe that overrides the default one
clusterOperator.customStartupProbeobject{}Custom startupProbe that overrides the default one
clusterOperator.resourcesobject{}Container resource requests and limits.
clusterOperator.pdbobject{"create":true,"maxUnavailable":"","minAvailable":""}PodDisruptionBudget settings for the Cluster Operator
clusterOperator.pdb.createbooltrueEnable a Pod Disruption Budget creation
clusterOperator.pdb.minAvailablestring""Minimum number/percentage of pods that should remain scheduled
clusterOperator.pdb.maxUnavailablestring""Maximum number/percentage of pods that may be made unavailable
clusterOperator.podSecurityContextobject{"enabled":true,"fsGroup":1001,"fsGroupChangePolicy":"Always","supplementalGroups":[],"sysctls":[]}Pod security context for the Cluster Operator pod
clusterOperator.podSecurityContext.enabledbooltrueEnable the pod security context for the Cluster Operator
clusterOperator.podSecurityContext.fsGroupChangePolicystring"Always"Set filesystem group change policy
clusterOperator.podSecurityContext.sysctlslist[]Set kernel settings using the sysctl interface
clusterOperator.podSecurityContext.supplementalGroupslist[]Set filesystem extra groups
clusterOperator.podSecurityContext.fsGroupint1001Set RabbitMQ Cluster Operator pod's Security Context fsGroup
clusterOperator.containerSecurityContextobject{"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.

  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.4.8 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