This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Cloud Kubernetes 3.1.4!spring-doc.cn

Pod Health Indicator

Spring Boot uses HealthIndicator to expose info about the health of an application. That makes it really useful for exposing health-related information to the user and makes it a good fit for use as readiness probes.spring-doc.cn

The Kubernetes health indicator (which is part of the core module) exposes the following info:spring-doc.cn

  • Pod name, IP address, namespace, service account, node name, and its IP addressspring-doc.cn

  • A flag that indicates whether the Spring Boot application is internal or external to Kubernetesspring-doc.cn

You can disable this HealthContributor by setting management.health.kubernetes.enabled to false in application.[properties | yaml].spring-doc.cn