Helm install Sprintboot applications get Liveness/Readiness probes are failed: connection refused
Recently I am trying to ship some springboot projects to kubernetes. So I chose Helm to manage my k8s setting. But when I tried to use Helm to install my chart. I kept getting connection refused error. I stuck on this problem for a long time…

Turns out embedded Tomcat of Springboot only listen localhost(127.0.0.1)
After add the below setting to application.properties, the problem was solved.
server.address=0.0.0.0
P.S. Besides the above setting, please check if your API return HTTP status code or not. Liveness/Readiness probes can get health is according 400>HTTP status code ≥200. Not if you API have response or not.