Question related to service discovery with Spring Boot Actuator, combined with Spring Cloud Kubernetes please.
Currently, I have a web app that has both the actuator and spring boot kubernetes dependencies. I am also using the discovery client provided by kubernetes, things are working fine.
However, when I curl my health endpoint, I do see those strange statements:
discoveryComposite":{"description":"Discovery Client not initialized","status":"UNKNOWN","components":{"discoveryClient":{"description":"Discovery Client not initialized","status":"UNKNOWN"}}
"reactiveDiscoveryClients":{"description":"Discovery Client not initialized","status":"UNKNOWN","components":{"Kubernetes Reactive Discovery Client":{"description":"Discovery Client not initialized","status":"UNKNOWN"}
Simple Reactive Discovery Client":{"description":"Discovery Client not initialized","status":"UNKNOWN"}}}
"readinessState":{"status":"UP"},"refreshScope":{"status":"UP"}},"groups":["liveness","readiness"]}*
May I ask why is it "unknown"? I would have expected at least one of the three here to how up something, and definitely not "Discovery Client not initialized".
Did I forget to initialize something? To register something? To configure something?
Btw, this is really a question regarding discovery with kubernetes. Not related to Eureka, not related to Consul and such.
Many thanks