<p>I have read a few documentations and figured out how to set up readiness and liveness endpoints with Actuator, like <a href="https://spring.io/blog/2020/03/25/liveness-and-readiness-probes-with-spring-boot" rel="noreferrer">this</a> one. But I am not able to figure out how to set-up the endpoint for the 'startup' probe.</p>
<p>My application yml:</p>
<pre><code>management:
  endpoints:
    web:
      exposure:
        include: &quot;*&quot;
  endpoint:
    health:
      show-details: &quot;ALWAYS&quot;
      group:
        readiness.include: readinessProbe, dataStream
        startup.include: readinessProbe, dataStream
</code></pre>
<p>My deployment config:</p>
<pre><code>  livenessProbe:
    httpGet:
      path: &quot;/actuator/health/liveness&quot;
      port: &quot;http&quot;
    initialDelaySeconds: 600
    periodSeconds: 15
  readinessProbe:
    httpGet:
      path: &quot;/actuator/health/readiness&quot;
      port: &quot;http&quot;
    periodSeconds: 30
    failureThreshold: 15
  startupProbe:
    httpGet:
      path: &quot;/actuator/health/startup&quot;
      port: &quot;http&quot;
    initialDelaySeconds: 150
    periodSeconds: 10
    failureThreshold: 30
</code></pre>
<p>The actuator doesn't seem to provide the URL for the 'startup' probe, or in other words, http://localhost:8080/actuator/health/startup doesn't work. How can I set it up?</p>

rishav
<p>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.</p>
