rabbitmq-topology-operator

by KlickTipp

Helm chartv0.4.3App 1.20.3Apache-2.0Verified publisher

Helm chart to deploy the official RabbitMQ Messaging Topology Operator.

About this chart

rabbitmq-topology-operator

Helm chart to deploy the official RabbitMQ Messaging Topology Operator.

Homepage: https://www.rabbitmq.com/kubernetes/operator/using-topology-operator

Source Code

Values

KeyTypeDefaultDescription
enabledbooltrueDeploy the RabbitMQ Messaging Topology Operator.
imageobject{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"rabbitmq/messaging-topology-operator","tag":""}Messaging Topology Operator image
image.registrystring"ghcr.io"RabbitMQ Messaging Topology Operator image registry
image.repositorystring"rabbitmq/messaging-topology-operator"RabbitMQ Messaging Topology Operator image repository
image.tagstring""RabbitMQ Messaging Topology Operator image tag. When empty, .Chart.AppVersion is used
image.digeststring""Messaging Topology Operator image digest in the form sha256:...; overrides image.tag when set
image.pullPolicystring"IfNotPresent"RabbitMQ Messaging Topology Operator image pull policy
image.pullSecretslist[]RabbitMQ Messaging Topology Operator image pull secrets
revisionHistoryLimitint10Number of old ReplicaSets to retain
watchAllNamespacesbooltrueWatch resources across all namespaces
watchNamespaceslist[]List of namespaces to watch when watchAllNamespaces=false
replicaCountint1Number of RabbitMQ Messaging Topology Operator replicas to deploy
topologySpreadConstraintslist[]The value is evaluated as a template
schedulerNamestring""Alternative scheduler
terminationGracePeriodSecondsstring""Time in seconds to allow the Messaging Topology Operator pod to terminate gracefully
hostNetworkboolfalseRun the pod in the host network namespace
dnsPolicystring"ClusterFirst"Alternative DNS policy
livenessProbeobject{"enabled":true,"failureThreshold":5,"initialDelaySeconds":5,"periodSeconds":30,"successThreshold":1,"timeoutSeconds":5}Health probes for the Messaging Topology Operator container on the dedicated health port
livenessProbe.enabledbooltrueEnable livenessProbe on RabbitMQ Messaging Topology Operator nodes
livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint30Period seconds for livenessProbe
livenessProbe.timeoutSecondsint5Timeout seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.failureThresholdint5Failure threshold for livenessProbe
readinessProbe.enabledbooltrueEnable readinessProbe on RabbitMQ Messaging Topology Operator nodes
readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint30Period seconds for readinessProbe
readinessProbe.timeoutSecondsint5Timeout seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.failureThresholdint5Failure threshold for readinessProbe
startupProbe.enabledboolfalseEnable startupProbe on RabbitMQ Messaging Topology Operator nodes
startupProbe.initialDelaySecondsint5Initial delay seconds for startupProbe
startupProbe.periodSecondsint30Period seconds for startupProbe
startupProbe.timeoutSecondsint5Timeout seconds for startupProbe
startupProbe.successThresholdint1Success threshold for startupProbe
startupProbe.failureThresholdint5Failure threshold for startupProbe
customLivenessProbeobject{}Custom livenessProbe that overrides the default one
customReadinessProbeobject{}Custom readinessProbe that overrides the default one
customStartupProbeobject{}Custom startupProbe that overrides the default one
skipCreateAdmissionWebhookConfigboolfalseSkip creation of the ValidatingWebhookConfiguration
existingWebhookCertSecretstring""Name of an existing secret containing the webhook certificates
existingWebhookCertCABundlestring""PEM-encoded CA Bundle of the existing secret provided in existingWebhookCertSecret (only if useCertManager=false)
useCertManagerboolfalseDeploy cert-manager objects (Issuer and Certificate) for webhooks
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.
crdUpgrade.enabledbooltrueEnable the pre-upgrade hook that reapplies CRDs with kubectl.
crdUpgrade.imageobject{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"klicktipp/kubectl","tag":"1.36.3"}Kubectl image used by the CRD upgrade hook.
crdUpgrade.image.registrystring"ghcr.io"Kubectl image registry.
crdUpgrade.image.repositorystring"klicktipp/kubectl"Kubectl image repository.
crdUpgrade.image.tagstring"1.36.3"Kubectl image tag.
crdUpgrade.image.digeststring""Kubectl image digest in the form sha256:...; overrides crdUpgrade.image.tag when set.
crdUpgrade.image.pullPolicystring"IfNotPresent"Image pull policy for the CRD upgrade hook.
crdUpgrade.image.pullSecretslist[]Image pull secrets for the CRD upgrade hook.
crdUpgrade.annotationsobject{}Annotations added to CRD upgrade hook resources.
crdUpgrade.resourcesobject{}Resource requests and limits for the CRD upgrade hook job.
crdUpgrade.backoffLimitint1Number of retries before the CRD upgrade hook job is marked as failed.
resourcesobject{}Container resource requests and limits.
pdbobject{"create":true,"maxUnavailable":"","minAvailable":""}PodDisruptionBudget settings for the Messaging Topology Operator
pdb.createbooltrueEnable a Pod Disruption Budget creation
pdb.minAvailablestring""Minimum number/percentage of pods that should remain scheduled
pdb.maxUnavailablestring""Maximum number/percentage of pods that may be made unavailable
podSecurityContextobject{"enabled":true,"fsGroup":1001,"fsGroupChangePolicy":"Always","supplementalGroups":[],"sysctls":[]}Pod security context for the Messaging Topology Operator pod
podSecurityContext.enabledbooltrueEnable the pod security context for the Messaging Topology Operator
podSecurityContext.fsGroupChangePolicystring"Always"Set filesystem group change policy
podSecurityContext.sysctlslist[]Set kernel settings using the sysctl interface
podSecurityContext.supplementalGroupslist[]Set filesystem extra groups
podSecurityContext.fsGroupint1001Set RabbitMQ Messaging Topology Operator pod's Security Context fsGroup
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 Messaging Topology Operator container
containerSecurityContext.enabledbooltrueEnable the container security context for the Messaging Topology Operator
containerSecurityContext.seLinuxOptionsobject{}Set SELinux options in container
containerSecurityContext.runAsUserint1001Set containers' Security Context runAsUser
containerSecurityContext.runAsGroupint1001Set containers' Security Context runAsGroup
containerSecurityContext.runAsNonRootbooltrueSet container's Security Context runAsNonRoot
containerSecurityContext.privilegedboolfalseSet container's Security Context privileged
containerSecurityContext.readOnlyRootFilesystembooltrueSet container's Security Context readOnlyRootFilesystem
containerSecurityContext.allowPrivilegeEscalationboolfalseSet container's Security Context allowPrivilegeEscalation
containerSecurityContext.capabilities.droplist["ALL"]List of capabilities to be dropped
containerSecurityContext.seccompProfile.typestring"RuntimeDefault"Set container's Security Context seccomp profile
commandlist[]Override the default container command
argslist[]Override the default container arguments
automountServiceAccountTokenbooltrueMount the service account token into the pod
hostAliaseslist[]https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
podLabelsobject{}Additional labels for Messaging Topology Operator pods
podAnnotationsobject{}Additional annotations for Messaging Topology Operator pods
affinityobject{}Affinity rules for Messaging Topology Operator pods
nodeSelectorobject{}Node selector for Messaging Topology Operator pods
tolerationslist[]Tolerations for Messaging Topology Operator pods
updateStrategyobject{"type":"RollingUpdate"}Deployment update strategy for the Messaging Topology Operator
updateStrategy.typestring"RollingUpdate"Can be set to RollingUpdate or OnDelete
priorityClassNamestring""PriorityClass name for Messaging Topology Operator pods
lifecycleHooksobject{}Lifecycle hooks for the Messaging Topology Operator container
containerPortsobject{"health":8081,"metrics":8443}Container ports exposed by the Messaging Topology Operator
containerPorts.metricsint8443HTTPS metrics port exposed by the Messaging Topology Operator
containerPorts.healthint8081HTTP health probe port exposed by the Messaging Topology Operator
extraEnvVarslist[]Additional environment variables for the container.
extraEnvVarsCMstring""Name of an existing ConfigMap with extra environment variables for the Messaging Topology Operator
extraEnvVarsSecretstring""Name of an existing Secret with extra environment variables for the Messaging Topology Operator
extraVolumeslist[]Additional volumes for Messaging Topology Operator pods
extraVolumeMountslist[]Additional volume mounts for the Messaging Topology Operator container
sidecarslist[]Additional sidecar containers for the pod.
initContainerslist[]Additional init containers for the pod.
serviceobject{"annotations":{},"clusterIP":"","externalTrafficPolicy":"Cluster","extraPorts":[],"loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePorts":{"http":""},"ports":{"webhook":443},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"ClusterIP"}Webhook Service settings
service.typestring"ClusterIP"Kubernetes Service type for the webhook service
service.portsobject{"webhook":443}Service port for the webhook endpoint
service.nodePortsobject{"http":""}Node ports to expose.
service.clusterIPstring""ClusterIP for the webhook service.
service.loadBalancerIPstring""LoadBalancer IP for the webhook Service
service.extraPortslist[]Additional ports to expose on the webhook Service
service.loadBalancerSourceRangeslist[]Allowed source ranges for the webhook service load balancer.
service.externalTrafficPolicystring"Cluster"External traffic policy for the webhook service.
service.annotationsobject{}Additional annotations for the webhook Service
service.sessionAffinitystring"None"If "ClientIP", consecutive client requests will be directed to the same Pod
service.sessionAffinityConfigobject{}Session affinity configuration.
networkPolicyobject{"allowExternal":true,"allowExternalEgress":true,"enabled":true,"extraEgress":[],"extraIngress":[],"ingressNSMatchLabels":{},"ingressNSPodMatchLabels":{},"kubeAPIServerPorts":[443,6443,8443]}NetworkPolicy settings for the Messaging Topology Operator
networkPolicy.enabledbooltrueCreate a NetworkPolicy for the Messaging Topology Operator
networkPolicy.kubeAPIServerPortslist[443,6443,8443]List of Kubernetes API server ports to allow
networkPolicy.allowExternalbooltrueWhen set to false, ingress is limited to explicitly allowed sources.
networkPolicy.allowExternalEgressbooltrueAllow unrestricted egress traffic
networkPolicy.extraIngresslist[]- frontend
networkPolicy.extraEgresslist[]- frontend
networkPolicy.ingressNSMatchLabelsobject{}Pod labels to match to allow traffic from other namespaces
rbacobject{"clusterRole":{"customRules":[],"extraRules":[]},"create":true}RBAC configuration
rbac.createbooltrueSpecifies whether RBAC resources should be created
rbac.clusterRole

Deploy rabbitmq-topology-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-topology-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-topology-operator is pinned at v0.4.3 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