Update RabbitMQ probes
The current health check that is used for readiness and liveness probes is considered intrusive and is prompt to produce false positives[0]. The command is also deprecated and will be removed in future version. Updating the probes based on current recommenation from community[1]. Ref: [0] https://www.rabbitmq.com/monitoring.html#deprecations [1] https://www.rabbitmq.com/monitoring.html#health-checks Change-Id: I83750731150ff9a276f59e3c1288129581fceba5
This commit is contained in:
parent
43ca88c91f
commit
3a76480c00
@ -15,6 +15,6 @@ apiVersion: v1
|
|||||||
appVersion: v3.7.26
|
appVersion: v3.7.26
|
||||||
description: OpenStack-Helm RabbitMQ
|
description: OpenStack-Helm RabbitMQ
|
||||||
name: rabbitmq
|
name: rabbitmq
|
||||||
version: 0.1.13
|
version: 0.1.14
|
||||||
home: https://github.com/rabbitmq/rabbitmq-server
|
home: https://github.com/rabbitmq/rabbitmq-server
|
||||||
...
|
...
|
||||||
|
@ -19,6 +19,5 @@ set -e
|
|||||||
if [ -f /tmp/rabbit-disable-liveness-probe ]; then
|
if [ -f /tmp/rabbit-disable-liveness-probe ]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
timeout 5 bash -c "true &>/dev/null </dev/tcp/${MY_POD_IP}/${PORT_AMPQ}"
|
exec rabbitmq-diagnostics -q check_port_connectivity
|
||||||
exec rabbitmqctl node_health_check
|
|
||||||
fi
|
fi
|
||||||
|
@ -19,5 +19,5 @@ set -e
|
|||||||
if [ -f /tmp/rabbit-disable-readiness ]; then
|
if [ -f /tmp/rabbit-disable-readiness ]; then
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
exec rabbitmqctl node_health_check
|
exec rabbitmq-diagnostics ping
|
||||||
fi
|
fi
|
||||||
|
@ -13,4 +13,5 @@ rabbitmq:
|
|||||||
- 0.1.11 Add TLS support for helm test
|
- 0.1.11 Add TLS support for helm test
|
||||||
- 0.1.12 Added helm hook post-install and post-upgrade for rabbitmq wait cluster job
|
- 0.1.12 Added helm hook post-install and post-upgrade for rabbitmq wait cluster job
|
||||||
- 0.1.13 Add prestop action and version 3.8.x upgrade prep
|
- 0.1.13 Add prestop action and version 3.8.x upgrade prep
|
||||||
|
- 0.1.14 Update readiness and liveness probes
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user