rabbitmq-operator
Type: component. From: the rabbitmq-operator addon.
rabbitmq operator component
Parameters
replicas int default 1The number of replicas of RabbitMQ nodes. Even numbers are highly discouraged and it is strongly recommended to use odd numbers.
image stringThe RabbitMQ image reference.
imagePullSecrets []anyAn array of names of Kubernetes secrets, used to access the registry which contains the RabbitMQ image. This is only required for private registries.
affinity map[string]any requiredThe Pod affinity and anti-affinity rules.
tolerations []anyPod tolerations that will be applied to RabbitMQ Pods.
skipPostDeploySteps bool default falseIf unset, or set to false, operator will run rabbitmq-queues rebalance all whenever the cluster is updated. When set to true, operator will skip running rabbitmq-queues rebalance all. For more information, see rabbitmq-queues.
terminationGracePeriodSeconds int default 604800TerminationGracePeriodSeconds is the timeout that each rabbitmqcluster pod will have to run the container preStop lifecycle hook to ensure graceful termination. The lifecycle hook checks quorum status of existing quorum queues and synchronization of mirror queues, before safely terminates pods.
override map[string]any requiredArbitrary overrides to the resources created by RabbitMQ Cluster Kubernetes Operator. This feature should be used with great care as overriding essential properties can render a RabbitMQ cluster unusable to applications or unreachable to the Operator. See the Override section to learn more.
service (2) configure service.
type string default ClusterIPThe Kubernetes Service type for the RabbitmqCluster Service. This must be ClusterIP, NodePort, or LoadBalancer.
annotations map[string]any requiredThese are annotations on the service. Note that annotations containing kubernetes.io and k8s.io are not filtered at this level.
persistence (2) configure respurces.
storage string default 10GiThe capacity of the persistent volume, expressed as a Kubernetes resource quantity. Set to
0 to deactivate persistence altogether (this may be convenient in CI/CD and test deloyments that should always start fresh).storageClassName string default standardThe name of the Kubernetes StorageClass that will be used to request Persistent Volumes.
resources (4) configure resources.
limits (2)
cpu string default 2000mThe CPU units used to calculate the share of CPU time available to the RabbitMQ container per 100 ms.
memory string default 2GiThe memory limit allowed to be used by RabbitMQ container. The container won't be allowed to use more than this limit.
requests (2)
cpu string default 1000mThe CPU units required by the Kubernetes scheduler for the container running RabbitMQ.
memory string default 2GiThe memory units required by the Kubernetes scheduler for the container running RabbitMQ.
tls (3) configure tls.
secretName stringThe Secret name used to configure RabbitMQ TLS. The Secret must exist and contain keys
tls.key and tls.crt.caSecretName stringThe Secret name used to configure RabbitMQ mTLS (used to verify clients' certificates). The Secret must exist and contain key
ca.crt.disableNonTLSListeners bool default falseWhen set to
true, only TLS connections are allowed (non-TLS listeners are disabled).rabbitmq (4) Additional configuration to append to the Cluster Generated configuration. Check Additional Config section for the list of always generated configuration.
additionalPlugins []anyList of plugins to enabled in RabbitMQ. By default, RabbitMQ Cluster Kubernetes Operator enables Prometheus, K8s Peer Discovery and Management plugins.
additionalConfig stringAdditional configuration to append to the Cluster Generated configuration. Check Additional Config section for the list of always generated configuration.
advancedConfig stringRabbitMQ advanced.config. See https://www.rabbitmq.com/kubernetes/operator/using-operator.html#advanced-config for an example.
envConfig stringRabbitMQ uses rabbitmq-env.conf to override the defaults built-in into the RabbitMQ scripts and CLI tools. The value of spec.rabbitmq.envConfig will be written to /etc/rabbitmq/rabbitmq-env.conf.