Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
PullIfNotPresent
unilaterally - set it to the default if not set already.PullAlways
unless the image has a digest, in which case usePullIfNotPresent
(Use PullIfNotPresent for images that have a digest? #415)Never
can fail for a new reason (ErrImageNeverPull
), check for this new reason.jobWatcher
-stalledJobs
is keyed by job UUID.Why
imagePullPolicy
on a container, we should respect that.podSpec{,Patch}
, or configure a default when deploying the stack.podWatcher
of a pending pod with waiting container in this status only once, which makes it hard to apply a grace period in the same way asImagePullBackOff
. Thus the image pull checks now work in a separate goroutine looping over the current list of pending and running pods, rather than only on informer events. However this meansImagePullBackOff
is failed slightly faster!