Skip to content

Commit d9aea47

Browse files
committed
Merge branch '2.7.x'
Closes gh-33327
2 parents 656f109 + 1da3a9d commit d9aea47

File tree

1 file changed

+4
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator

1 file changed

+4
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/endpoints.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,10 @@ These health groups are automatically enabled only if the application <<deployme
885885
You can enable them in any environment by using the configprop:management.endpoint.health.probes.enabled[] configuration property.
886886

887887
NOTE: If an application takes longer to start than the configured liveness period, Kubernetes mentions the `"startupProbe"` as a possible solution.
888-
The `"startupProbe"` is not necessarily needed here, as the `"readinessProbe"` fails until all startup tasks are done. See the section that describes <<actuator#actuator.endpoints.kubernetes-probes.lifecycle,how probes behave during the application lifecycle>>.
888+
Generally speaking, the `"startupProbe"` is not necessarily needed here, as the `"readinessProbe"` fails until all startup tasks are done.
889+
This means your application will not receive traffic until it is ready.
890+
However, if your application takes a long time to start, consider using a `"startupProbe"` to make sure that Kubernetes won't kill your application while it is in the process of starting.
891+
See the section that describes <<actuator#actuator.endpoints.kubernetes-probes.lifecycle,how probes behave during the application lifecycle>>.
889892

890893
If your Actuator endpoints are deployed on a separate management context, the endpoints do not use the same web infrastructure (port, connection pools, framework components) as the main application.
891894
In this case, a probe check could be successful even if the main application does not work properly (for example, it cannot accept new connections).

0 commit comments

Comments
 (0)