For anyone else here, if using helm to manage your deployments, you need to set initialDelaySeconds
it in the deployments.yaml
template in the /templates
folder under livenessProbe
. The livenessProbe
will force restart your pod if the probe cannot connect, as was happening with mine. It wasn’t giving my application enough time to build.