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
Setting a pull policy of Always should cause the runtime to always hit the remote server for an image. However, the rkt fetch invocation used to get the image always checks the cache first, rather than hit the network.
This also impacts Always PullPolocies that are implicitly added to :latest tagged images.
The impact of this is that a ":latest" tagged image will not be updated on each new run under rktnetes, unless it has been removed. Similarly, when setting a global pull policy of Always, the image will not be updated unless removed.
cc @kubernetes/sig-rktnetes
The text was updated successfully, but these errors were encountered:
Automatic merge from submit-queue
rkt: Force `rkt fetch` to fetch from remote to conform the image pull policy.
Fix#27646
Use `--no-store` option for `rkt fetch` to force it to fetch from remote.
However, `--no-store` will fetch the remote image regardless of whether the content of the image has changed or not.
This causes performance downgrade when the image tag is ':latest' and the image pull policy is 'always'.
The issue is tracked in rkt/rkt#2937.
Setting a pull policy of
Always
should cause the runtime to always hit the remote server for an image. However, therkt fetch
invocation used to get the image always checks the cache first, rather than hit the network.This also impacts
Always
PullPolocies that are implicitly added to:latest
tagged images.The impact of this is that a ":latest" tagged image will not be updated on each new run under rktnetes, unless it has been removed. Similarly, when setting a global pull policy of
Always
, the image will not be updated unless removed.cc @kubernetes/sig-rktnetes
The text was updated successfully, but these errors were encountered: