You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(deploy): account for readiness initial delay when determining if a pod is ready
By default kubernetes will mark a readiness probe as Failure if initial delay is set on it, until the delay is over.
Many users will add initial delay so that their application can warm up caches, on pod
Part addresses #706
logger.debug("adding {}s on to the original {}s timeout to account for the initial delay specified in the readiness probe for the RC".format(delay, timeout, controller['metadata']['name'])) # noqa
879
+
timeout+=delay
880
+
881
+
logger.debug("waiting for {} pods in {} namespace to be in services ({} timeout)".format(desired, namespace, timeout)) # noqa
882
+
883
+
# has timeout been increased or not within the loop
884
+
timeout_padded=False
885
+
# Ensure the minimum desired number of pods are available
0 commit comments