Readiness probe with delay

Hello,

I would like to ask whether anyone tried such behaviour:

  1. pod gets ready

  2. delay traffic directed to this pod by x seconds ?

My app gets ready, but right after that it still serves 404 on random data and it takes about 1-2 minutes after every pod starts.

Maybe you have other suggestions ?

Thanks in advance

Might be a good use case for a startup probe? Either that or some type of init container to hit your app to warm it up before actually getting to readiness probe?

A startup probe would be the best solution here