How to configure Kubernetes startup probe with Spring Actuator How to configure Kubernetes startup probe with Spring Actuator kubernetes kubernetes

How to configure Kubernetes startup probe with Spring Actuator


Spring boot does not expose a separate endpoint for the startup probe. You could use the liveness probe for this use case as well.The reasoning to have a different probe in kubernetes is to enable a long timeout for the initial startup of the application, which might take some time. After the first successful startup probe call the liveness probe takes over, having reduced timeout values to quickly detect a failure and restart the application.