-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman play kube does not pull images like it should #4880
Comments
@komic Do you have a simple kubernernetes.yaml file we could test with? |
A basic example:
|
@komic I can understand that |
Of course, that does not match the behavior described by https://kubernetes.io/docs/concepts/containers/images/ though. |
When a container specification has a pull policy, we should honor it when recreating the pods/containers from yaml. furthermore, ini kube, if a tag is :latest, then the always pull policy is automatically instituted. Fixes: containers#4880 Signed-off-by: Brent Baude <[email protected]>
@komic both pieces were added to play kube! |
Good stuff, thank you all! |
/kind bug
podman play kube
does not seem to be pulling updated images as directed by the:latest
tag orimagePullPolicy: always
.Steps to reproduce the issue:
podman stop/remove
an outdated containerpodman play kube
a .yml containing the:latest
tag orimagePullPolicy: always
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):The text was updated successfully, but these errors were encountered: