Clarify how to disable health and info contributors
This commit is contained in:
@@ -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]`.
|
||||
|
||||
@@ -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]`.
|
||||
|
||||
Reference in New Issue
Block a user