Using an External Message Queue
This topic illustrates how to use an external message queue, instead of the RabbitMQ that is provided with the operator itself.
This document describes how to change configuration on the existing Deploy installation. If you are doing initial installation, check the document Using an Existing Message Queue
Steps to Configure an External Message Queue after Installation
- Prepare the external message queue configuration.
spec:
external:
mq:
enabled: true
url: "amqp://rabbitmq-test1.default.svc.cluster.local:5672"
queueName: ""
username: "user"
password: "password"
rabbitmq:
install: false
- Update the message queue configuration in Release.
kubectl patch -n digitalai digitalaireleases.xlr.digital.ai dai-xlr \
--type=merge --patch-file external-mq-patch.yaml
- The Release pods are automatically restarted.
- The CR yaml file will now have a new
external.mq
section.
kubectl get Digitalaireleases dai-xlr -o yaml -n digitalai
- The restarted pod process will now use the new configuration.
kubectl exec -it sts/dai-xlr-digitalai-release -n digitalai \
-- cat /opt/xebialabs/xl-release-server/conf/xl-release.conf