Skip to content

Commit 03739e3

Browse files
committed
Polish "Improve liveness/readiness health config"
See gh-22107
1 parent fe807d6 commit 03739e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ NOTE: `<actuator-port>` should be set to the port that the actuator endpoints ar
924924
It could be the main web server port, or a separate management port if the `"management.server.port"` property has been set.
925925

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

929929
NOTE: If an application takes longer to start than the configured liveness period, Kubernetes mention the `"startupProbe"` as a possible solution.
930930
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>>.

0 commit comments

Comments
 (0)