RabbitMQ configuration
For rabbitmq installation, bitnami/rabbitmq is used.
Installation
Add bitnami repo to helm:
1 | |
Install rabbitmq-ha release:
1 | |
Configuration
You can change rabbitmq config with the following variables in rmq-values.yaml:
replicaCount- number RMQ instancespersistence.enabled- enable/disable persistencepersistence.size- size for singe PVpersistence.storageClass- storage class for PVauth.username- username for RMQ userauth.password- password for RMQ user
For more config values, see this section
In values.yaml file, you need to setup the following vars (rabbitmq prefix):
auth.username- should be same asauth.usernamein thermq-values.yamlfileauth.password- should be same asauth.passwordin thermq-values.yamlfilehost- rabbitmq service hostname (See this doc for details)customManagementPort- custom port for rabbitmq management interfacecustomAMQPPort- custom port for AMQP access
Additional Protocol Support
The chart supports additional messaging protocols beyond AMQP:
- MQTT (port 1883) - for IoT device communication
- STOMP (port 61613) - for simple text-based messaging
- WebSocket variants (ports 15674, 15675) - for browser-based connections
These protocols are enabled through the extraPlugins configuration:
1 | |
Additional container and service ports are automatically configured for these protocols.