Clarify how to disable health and info contributors

This commit is contained in:
Ryan Baxter
2021-07-13 14:00:27 -04:00
parent 05a214ade7
commit d11da58927
2 changed files with 4 additions and 1 deletions

View File

@@ -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]`.

View File

@@ -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]`.