A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

rabbitmq-operator

Type: component. From: the rabbitmq-operator addon.

rabbitmq operator component

Parameters​

replicas int default 1
The number of replicas of RabbitMQ nodes. Even numbers are highly discouraged and it is strongly recommended to use odd numbers.
image string
The RabbitMQ image reference.
imagePullSecrets []any
An 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 required
The Pod affinity and anti-affinity rules.
tolerations []any
Pod tolerations that will be applied to RabbitMQ Pods.
skipPostDeploySteps bool default false
If 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 604800
TerminationGracePeriodSeconds 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 required
Arbitrary 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 ClusterIP
The Kubernetes Service type for the RabbitmqCluster Service. This must be ClusterIP, NodePort, or LoadBalancer.
annotations map[string]any required
These 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 10Gi
The 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 standard
The name of the Kubernetes StorageClass that will be used to request Persistent Volumes.
resources (4) configure resources.
limits (2)
cpu string default 2000m
The CPU units used to calculate the share of CPU time available to the RabbitMQ container per 100 ms.
memory string default 2Gi
The 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 1000m
The CPU units required by the Kubernetes scheduler for the container running RabbitMQ.
memory string default 2Gi
The memory units required by the Kubernetes scheduler for the container running RabbitMQ.
tls (3) configure tls.
secretName string
The Secret name used to configure RabbitMQ TLS. The Secret must exist and contain keys tls.key and tls.crt.
caSecretName string
The Secret name used to configure RabbitMQ mTLS (used to verify clients' certificates). The Secret must exist and contain key ca.crt.
disableNonTLSListeners bool default false
When 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 []any
List of plugins to enabled in RabbitMQ. By default, RabbitMQ Cluster Kubernetes Operator enables Prometheus, K8s Peer Discovery and Management plugins.
additionalConfig string
Additional configuration to append to the Cluster Generated configuration. Check Additional Config section for the list of always generated configuration.
advancedConfig string
envConfig string
RabbitMQ 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.