[rabbitmq] Update readiness/liveness commands
Use lightweigh rabbitmqctl ping command to check readiness and liveness probe. check_port_connectivity - is not suatable for liveness as it does not check that instance of rabbitmq is actually running and we can authenticate. Change-Id: I6f157e9aef3450dba1ad7e0cb19491a41f700bbc
This commit is contained in:
parent
61708c74d3
commit
b591d3aa49
@ -15,6 +15,6 @@ apiVersion: v1
|
||||
appVersion: v3.12.0
|
||||
description: OpenStack-Helm RabbitMQ
|
||||
name: rabbitmq
|
||||
version: 0.1.36
|
||||
version: 0.1.37
|
||||
home: https://github.com/rabbitmq/rabbitmq-server
|
||||
...
|
||||
|
@ -19,5 +19,5 @@ set -e
|
||||
if [ -f /tmp/rabbit-disable-liveness-probe ]; then
|
||||
exit 0
|
||||
else
|
||||
exec rabbitmq-diagnostics -q check_port_connectivity
|
||||
exec rabbitmqctl ping
|
||||
fi
|
||||
|
@ -19,5 +19,5 @@ set -e
|
||||
if [ -f /tmp/rabbit-disable-readiness ]; then
|
||||
exit 1
|
||||
else
|
||||
exec rabbitmq-diagnostics ping
|
||||
exec rabbitmqctl ping
|
||||
fi
|
||||
|
@ -36,4 +36,5 @@ rabbitmq:
|
||||
- 0.1.34 Add 2024.1 overrides
|
||||
- 0.1.35 Add configurable probes to rabbitmq container
|
||||
- 0.1.36 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default
|
||||
- 0.1.37 Update rabbitmq readiness/liveness command
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user