From 18e0db6326d7d93f02136d3c59fb67d4bcd53111 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Fri, 22 May 2020 22:23:41 +0200 Subject: [PATCH] Document health probes config property in Actuator section This commit mentions the `management.health.probes.enabled` configuration property in the Kubernetes Probes section of the Actuator chapter. Enabling this property is required if we need to expose Kubernetes Probes in a non-Kubernetes environment. Fixes gh-21505 --- .../src/docs/asciidoc/production-ready-features.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc index a3746f997c..1fbbaba9b2 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc @@ -900,6 +900,9 @@ readinessProbe: periodSeconds: ... ---- +These health groups are only enabled automatically if the application is <>. +You can enable them in any environment using the configprop:management.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 <>.