-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Description
Recent version of cloud foundry do support in addition to an application health check also readiness check, like kubernetes does: https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#readiness-health-check-type
Currently the health probes, LivenessStateHealthIndicator and ReadinessStateHealthIndicator are only automatically enabled in Kubernetes environments: https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.endpoints.kubernetes-probes
By manually configuring management.endpoint.health.probes.enabled=true one can activate these probes and its corresponding endpoints, /actuator/health/liveness and /actuator/health/readiness, for cloud foundry health checks.
The ask is, to not only activate the health probes automatically in kubernetes but also in cloud foundry environments.