rabbitmq

by KubeGems

Helm chartv3.7.17App 3.7.17

Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)

About this chart

RabbitMQ

RabbitMQ是一款广泛部署的开源消息代理组件

安装

$ helm install stable/rabbitmq

需求

  • Kubernetes 1.8+
  • PV provisioner support in the underlying infrastructure

参数

ParameterDescriptionDefault
global.imageRegistryGlobal Docker image registrynil
global.imagePullSecretsGlobal Docker registry secret names as an array[] (does not add image pull secrets to deployed pods)
global.storageClassGlobal storage class for dynamic provisioningnil
image.registryRabbitmq Image registrydocker.io
image.repositoryRabbitmq Image namebitnami/rabbitmq
image.tagRabbitmq Image tag{TAG_NAME}
image.pullPolicyImage pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an arraynil
image.debugSpecify if debug values should be setfalse
nameOverrideString to partially override rabbitmq.fullname template with a string (will prepend the release name)nil
fullnameOverrideString to fully override rabbitmq.fullname template with a stringnil
rbacEnabledSpecify if rbac is enabled in your clustertrue
podManagementPolicyPod management policyOrderedReady
rabbitmq.usernameRabbitMQ application usernameuser
rabbitmq.passwordRabbitMQ application passwordrandom 10 character long alphanumeric string
rabbitmq.existingPasswordSecretExisting secret with RabbitMQ credentialsnil
rabbitmq.erlangCookieErlang cookierandom 32 character long alphanumeric string
rabbitmq.existingErlangSecretExisting secret with RabbitMQ Erlang cookienil
rabbitmq.pluginsList of plugins to enablerabbitmq_management rabbitmq_peer_discovery_k8s
rabbitmq.extraPluginsExtra plugings to enablenil
rabbitmq.clustering.address_typeSwitch clustering modeip or hostname
rabbitmq.clustering.k8s_domainCustomize internal k8s cluster domaincluster.local
rabbitmq.logsValue for the RABBITMQ_LOGS environment variable-
rabbitmq.setUlimitNofilesSpecify if max file descriptor limit should be settrue
rabbitmq.ulimitNofilesMax File Descriptor limit65536
rabbitmq.maxAvailableSchedulersRabbitMQ maximum available scheduler threads2
rabbitmq.onlineSchedulersRabbitMQ online scheduler threads1
rabbitmq.envRabbitMQ environment variables{}
rabbitmq.configurationRequired cluster configurationSee values.yaml
rabbitmq.extraConfigurationExtra configuration to add to rabbitmq.confSee values.yaml
rabbitmq.advancedConfigurationExtra configuration (in classic format) to add to advanced.configSee values.yaml
rabbitmq.tls.enabledEnable TLS support to rabbitmq
rabbitmq.tls.failIfNoPeerCertWhen set to true, TLS connection will be rejected if client fails to provide a certificatetrue
rabbitmq.tls.sslOptionsVerifyverify_peerShould peer verification be enabled?
rabbitmq.tls.caCertificateCa certificateCertificate Authority (CA) bundle content
rabbitmq.tls.serverCertificateServer certificateServer certificate content
rabbitmq.tls.serverKeyServer KeyServer private key content
rabbitmq.tls.existingSecretExisting secret with certificate content to rabbitmq credentialsnil
service.typeKubernetes Service typeClusterIP
service.portAmqp port5672
service.tlsPortAmqp TLS port5671
service.distPortErlang distribution server port25672
service.nodePortNode port override, if serviceType NodePortrandom available between 30000-32767
service.nodeTlsPortNode port override, if serviceType NodePortrandom available between 30000-32767
service.managerPortRabbitMQ Manager port15672
persistence.enabledUse a PVC to persist datatrue
service.annotationsservice annotations as an array[]
schedulerNameName of the k8s service (other than default)nil
persistence.storageClassStorage class of backing PVCnil (uses alpha storage class annotation)
persistence.existingClaimRabbitMQ data Persistent Volume existing claim name, evaluated as a template""
persistence.accessModeUse volume as ReadOnly or ReadWriteReadWriteOnce
persistence.sizeSize of data volume8Gi
persistence.pathMount path of the data volume/opt/bitnami/rabbitmq/var/lib/rabbitmq
securityContext.enabledEnable security contexttrue
securityContext.fsGroupGroup ID for the container1001
securityContext.runAsUserUser ID for the container1001
resourcesresource needs and limits to apply to the pod{}
replicasReplica count1
priorityClassNamePod priority class name``
nodeSelectorNode labels for pod assignment{}
affinityAffinity settings for pod assignment{}
tolerationsToleration labels for pod assignment[]
updateStrategyStatefulset update strategy policyRollingUpdate
ingress.enabledEnable ingress resource for Management consolefalse
ingress.hostNameHostname to your RabbitMQ installationnil
ingress.pathPath within the url structure/
ingress.tlsenable ingress with tlsfalse
ingress.tlsSecrettls type secret to be usedmyTlsSecret
ingress.annotationsingress annotations as an array[]
livenessProbe.enabledwould you like a livenessProbed to be enabledtrue
livenessProbe.initialDelaySecondsnumber of seconds120
livenessProbe.timeoutSecondsnumber of seconds20
livenessProbe.periodSecondsnumber of seconds30
livenessProbe.failureThresholdnumber of failures6
livenessProbe.successThresholdnumber of successes1
readinessProbe.enabledwould you like a readinessProbe to be enabledtrue
readinessProbe.initialDelaySecondsnumber of seconds10
readinessProbe.timeoutSecondsnumber of seconds20
readinessProbe.periodSecondsnumber of seconds30
readinessProbe.failureThresholdnumber of failures3
readinessProbe.successThresholdnumber of successes1
metrics.enabledStart a side-car prometheus exporterfalse
metrics.image.registryExporter image registrydocker.io
metrics.image.repositoryExporter image namebitnami/rabbitmq-exporter
metrics.image.tagExporter image tag{TAG_NAME}
metrics.image.pullPolicyExporter image pull policyIfNotPresent
metrics.portPrometheus metrics exporter port9419
metrics.envExporter configuration environment variables{}
metrics.resourcesExporter resource requests/limitnil
metrics.capabilitiesExporter: Comma-separated list of extended [scraping capabilities supported by the target RabbitMQ ser

Deploy rabbitmq with OpenTenant

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