Try to use liveness check and readiness check. see https://github.com/spring-projects/spring-petclinic/blob/main/k8s/petclinic.yml ``` curl https://spring-petclinic.mydomain/livez {"timestamp":"2026-03-26T12:45:18.322Z","status":404,"error":"Not Found","path":"/livez"} ```
Try to use liveness check and readiness check.
see https://github.com/spring-projects/spring-petclinic/blob/main/k8s/petclinic.yml