Skip to content

Automatically activate health probes in Cloud Foundry environments #39804

@vchrisb

Description

@vchrisb

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions