From d11da589278bcb53d11c16399c063fd101e01494 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Tue, 13 Jul 2021 14:00:27 -0400 Subject: [PATCH] Clarify how to disable health and info contributors --- docs/src/main/asciidoc/info-contributor.adoc | 2 +- docs/src/main/asciidoc/pod-health-indicator.adoc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/info-contributor.adoc b/docs/src/main/asciidoc/info-contributor.adoc index 073dfdca..7f2057e1 100644 --- a/docs/src/main/asciidoc/info-contributor.adoc +++ b/docs/src/main/asciidoc/info-contributor.adoc @@ -4,4 +4,4 @@ Spring Cloud Kubernetes includes an `InfoContributor` which adds Pod information Spring Boot's `/info` Acturator endpoint. You can disable this `InfoContributor` by setting `management.info.kubernetes.enabled` -to `false` in `bootstrap.[properties | yaml]`. +to `false` in `application.[properties | yaml]`. diff --git a/docs/src/main/asciidoc/pod-health-indicator.adoc b/docs/src/main/asciidoc/pod-health-indicator.adoc index 05f1fd21..3c59f2e3 100644 --- a/docs/src/main/asciidoc/pod-health-indicator.adoc +++ b/docs/src/main/asciidoc/pod-health-indicator.adoc @@ -7,3 +7,6 @@ The Kubernetes health indicator (which is part of the core module) exposes the f * Pod name, IP address, namespace, service account, node name, and its IP address * A flag that indicates whether the Spring Boot application is internal or external to Kubernetes + +You can disable this `HealthContributor` by setting `management.health.kubernetes.enabled` +to `false` in `application.[properties | yaml]`.