Add backup configuration for Artemis broker deployment This commit introduces a new backup configuration for the Artemis broker by adding a Deployment under the `artemis-broker-backup` section in the Helm chart values file. The configuration supports high availability with an active-passive mode, where 'broker2' is set as the backup broker and references 'broker1' as the active broker. The backup broker will use the AMQ broker image defined in the registry, deploy at node port 30004, and route traffic through an ingress with the specified domain of tuxnet.lan. With this change, administrators can ensure redundancy and improved availability for message brokering services. No existing functionality is impacted. ```
61 lines
1.1 KiB
YAML
61 lines
1.1 KiB
YAML
kind: Deployment
|
|
clustered: true
|
|
cluster:
|
|
ha_ap_mode: true
|
|
ha_ap:
|
|
connector:
|
|
ref: broker1
|
|
static:
|
|
ref: broker2
|
|
application:
|
|
name: broker1
|
|
amq_broker_image: registry.tuxnet.lan/amq7/amq-broker-rhel8
|
|
storageclass: nfs-delete
|
|
|
|
ingress:
|
|
domain: tuxnet.lan
|
|
|
|
# k8s affinity for node binding
|
|
affinity: {}
|
|
# nodeAffinity:
|
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
|
# nodeSelectorTerms:
|
|
# - matchExpressions:
|
|
# - key: disktype
|
|
# operator: In
|
|
# values:
|
|
# - ssd
|
|
|
|
|
|
artemis-broker-backup:
|
|
kind: Deployment
|
|
clustered: true
|
|
cluster:
|
|
ha_ap_mode: true
|
|
ha_ap:
|
|
mode: backup
|
|
connector:
|
|
ref: broker2
|
|
static:
|
|
ref: broker1
|
|
application:
|
|
name: broker2
|
|
amq_broker_image: registry.tuxnet.lan/amq7/amq-broker-rhel8
|
|
|
|
nodeport:
|
|
port: 30004
|
|
|
|
ingress:
|
|
domain: tuxnet.lan
|
|
|
|
|
|
# k8s affinity for node binding
|
|
affinity: {}
|
|
# nodeAffinity:
|
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
|
# nodeSelectorTerms:
|
|
# - matchExpressions:
|
|
# - key: disktype
|
|
# operator: In
|
|
# values:
|
|
# - ssd |