❯ curl localhost:8080/actuator/health/liveness | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 461 0 461 0 0 317 0 --:--:-- 0:00:01 --:--:-- 317
❯ curl localhost:8080/livez | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 461 0 461 0 0 91 0 --:--:-- 0:00:05 --:--:-- 121
Replicator project: https://github.com/matthenry87/additional-liveness-path-bug
Both responses:
We discovered this when our mail server went down, and all of our pods/apps that use the mail starter started getting bounced over and over.
Our work-around is to pass this via environment to all apps:
MANAGEMENT_ENDPOINT_HEALTH_GROUP_LIVENESS_EXCLUDE db,ping,diskSpace,readinessState,mail,redis
MANAGEMENT_ENDPOINT_HEALTH_VALIDATE-GROUP-MEMBERSHIP false