Skip to content

Commit

Permalink
Polish "Improve liveness/readiness health config"
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Jul 21, 2020
1 parent fe807d6 commit 03739e3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -924,7 +924,7 @@ NOTE: `<actuator-port>` should be set to the port that the actuator endpoints ar
It could be the main web server port, or a separate management port if the `"management.server.port"` property has been set.

These health groups are only enabled automatically if the application is <<deployment.adoc#cloud-deployment-kubernetes,running in a Kubernetes environment>>.
You can enable them in any environment using the configprop:management.health.probes.enabled[] configuration property.
You can enable them in any environment using the configprop:management.endpoint.health.probes.enabled[] configuration property.

NOTE: If an application takes longer to start than the configured liveness period, Kubernetes mention the `"startupProbe"` as a possible solution.
The `"startupProbe"` is not necessarily needed here as the `"readinessProbe"` fails until all startup tasks are done, see <<production-ready-features.adoc#production-ready-kubernetes-probes-lifecycle,how Probes behave during the application lifecycle>>.
Expand Down

0 comments on commit 03739e3

Please sign in to comment.