Skip to content

Commit 8cbc642

Browse files
authored
Merge pull request #78 from StackStorm/enhancement/rmq-enable-queue-mirroring
Enable RabbitMQ Queue mirroring
2 parents ec7e411 + db722f5 commit 8cbc642

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## In Development
44

5+
6+
## v0.19.0
7+
* Configure RabbitMQ Queue mirroring by default, see https://www.rabbitmq.com/ha.html (#78)
8+
59
## v0.18.0
610
* Pin st2 to `v3.2dev` as a new latest development version (#77)
711

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
# Update StackStorm version here to rely on other Docker images tags
33
appVersion: 3.2dev
44
name: stackstorm-ha
5-
version: 0.18.0
5+
version: 0.19.0
66
description: StackStorm K8s Helm Chart, optimized for running StackStorm in HA environment.
77
home: https://stackstorm.com/#product
88
icon: https://avatars1.githubusercontent.com/u/4969009

requirements.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: rabbitmq-ha
3-
version: 1.20.1
3+
version: 1.31.0
44
repository: https://kubernetes-charts.storage.googleapis.com/
55
- name: mongodb-replicaset
66
version: 3.9.2

templates/configmaps_st2-conf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ data:
2323
[coordination]
2424
url = etcd://{{ .Release.Name }}-etcd:2379
2525
[messaging]
26-
# TODO: RabbitMQ HQ connection string needs templating based on number of nodes
2726
url = amqp://{{ required "rabbitmq-ha.rabbitmqUsername is required!" (index .Values "rabbitmq-ha" "rabbitmqUsername") }}:{{ required "rabbitmq-ha.rabbitmqPassword is required!" (index .Values "rabbitmq-ha" "rabbitmqPassword") }}@{{ .Release.Name }}-rabbitmq-ha-discovery:5672
2827
[database]
2928
# TODO: ReplicaSet connection string needs templating based on number of MongoDB nodes

values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,12 @@ rabbitmq-ha:
384384
rabbitmqPassword: 9jS+w1u07NbHtZke1m+jW4Cj
385385
persistentVolume:
386386
enabled: true
387+
# RabbitMQ application vhost, should match with 'ha' Queue Mirroring definition policy
388+
rabbitmqVhost: "/"
389+
definitions:
390+
# Enable Queue Mirroring between nodes
391+
# See https://www.rabbitmq.com/ha.html
392+
policies: '{"vhost":"/","name":"ha","pattern":"", "definition":{"ha-mode":"all","ha-sync-mode":"automatic","ha-sync-batch-size":10}}'
387393

388394
##
389395
## Etcd HA configuration (3rd party chart dependency)

0 commit comments

Comments
 (0)