Your Spring Boot service needs 50 seconds to start and Kubernetes keeps killing it before it is ready. What do you change, and in which order?
First stop the kills: add a Kubernetes startup probe with a budget longer than the worst observed start, and point liveness and readiness at Actuator's separate health groups. Then measure where the 50 seconds goes before tuning, because lazy initialisation only moves the cost onto the first requests.