Merge "Add force_boot command to rabbit start template"
This commit is contained in:
commit
ebfd04448e
@ -15,6 +15,6 @@ apiVersion: v1
|
||||
appVersion: v3.7.26
|
||||
description: OpenStack-Helm RabbitMQ
|
||||
name: rabbitmq
|
||||
version: 0.1.15
|
||||
version: 0.1.16
|
||||
home: https://github.com/rabbitmq/rabbitmq-server
|
||||
...
|
||||
|
@ -94,4 +94,7 @@ if ! [ "${POD_INCREMENT}" -eq "0" ] && ! [ -d "/var/lib/rabbitmq/mnesia" ] ; the
|
||||
rm -fv /tmp/rabbit-disable-readiness /tmp/rabbit-disable-liveness-probe
|
||||
fi
|
||||
|
||||
{{- if .Values.forceBoot.enabled }}
|
||||
if [ "${POD_INCREMENT}" -eq "0" ] && [ -d "/var/lib/rabbitmq/mnesia/${RABBITMQ_NODENAME}" ]; then rabbitmqctl force_boot; fi
|
||||
{{- end}}
|
||||
exec rabbitmq-server
|
||||
|
@ -46,6 +46,12 @@ images:
|
||||
- dep_check
|
||||
- image_repo_sync
|
||||
|
||||
# forceBoot: executes 'rabbitmqctl force_boot' to force boot on
|
||||
# cluster shut down unexpectedly in an unknown order.
|
||||
# ref: https://www.rabbitmq.com/rabbitmqctl.8.html#force_boot
|
||||
forceBoot:
|
||||
enabled: false
|
||||
|
||||
pod:
|
||||
probes:
|
||||
prometheus_rabbitmq_exporter:
|
||||
|
@ -15,4 +15,5 @@ rabbitmq:
|
||||
- 0.1.13 Add prestop action and version 3.8.x upgrade prep
|
||||
- 0.1.14 Update readiness and liveness probes
|
||||
- 0.1.15 Update htk requirements
|
||||
- 0.1.16 Add force_boot command to rabbit start template
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user