readinessProbe: httpGet: port: 8080 path: actuator/health/readiness initialDelaySeconds: 120 failureThreshold: 5 periodSeconds: 60 livenessProbe: httpGet: port: 8080 path: actuator/health/liveness initialDelaySeconds: 300 failureThreshold: 3 periodSeconds: 60 timeoutSeconds: 5
Regarding the readinessProbe and livenessProbe the manifest configuration on a deployment.yaml file looks like below.
I try to deploy on Jenkins successfully, and after checking the POD creation on LENS, eventhough the application logs are all correct the following error messages are displayed:#
Readiness probe failed: Get http://172.16.221.154:8080/actuator/health/readiness: dial tcp 172.16.221.154:8080: connect: connection refused
Liveness probe failed: Get http://172.16.221.154:8080/actuator/health/liveness: dial tcp 172.16.221.154:8080: connect: connection refused
Any idea what might have caused this problem?
The Spring version used on this application is : 1.5.22