Slow-Starting Apps and Liveness
A Java app needs 3 minutes to start, and its liveness probe kills it after 30 seconds, again and again. What is the cleanest fix?
Choose one answer
Set initialDelaySeconds: 600 on the readiness probe and keep the liveness probe as it is.
initialDelaySeconds: 600
Give the pod a higher priority class.
Remove the liveness probe entirely.
Add a startupProbe for the slow start.
startupProbe