Hi,
I have a simple deployment. I added the livenessProbe
and the readinessProbe
like this:
livenessProbe:
initialDelaySeconds: 3
timeoutSeconds: 5
exec:
command: ...
readinessProbe:
initialDelaySeconds: 3
timeoutSeconds: 5
exec: ...
After I applied the deployment, the pod was started and the app was running. But the state was not turned to ready until about 1 minute later. If I remove the initialDelaySeconds
from the readinessProbe
, the pod turns to the read state immediately after deployment.
Why initialDelaySeconds: 3 causes the readiness probe to delay for about 1 minute?
Thanks.