- I have upgraded spring boot application from version 2.7.7 to 3.0.0.
- After upgrading it is working fine on local machine and able to access all the actuator health endpoints.
- But, after deploying the same code to Kubernetes cluster we are getting error as "Readiness probe failed. 404 not found".
- It is not able to call health endpoints and giving 404 error.
- From the pod logs we can see that application is started properly on port 8080.
- Please refer following image for error. enter image description here
We tried the same on local machine it is working fine. We redeployed the previous build with old springboot version it is working fine. We also tried deploying the jar in minikube environment it is working fine.We are expecting to resolve the readiness probe issue.
We are expecting to resolve this issue and start the app with springboot 3.0.0 in kubernetes environment.