-
Notifications
You must be signed in to change notification settings - Fork 222
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
Add handling for modify events where the image changes #214
Comments
Is there a recommended way to find out whether the image has changed or not. |
Yeah, I wasn't sure on the best way to do this. I think we should probably just keep an in-memory map of any pods and their current images for now. A stretch goal would be to only keep track of bare pods (as other pods created from controllers just delete the pods and create new ones) |
I believe this has now been implemented with the state machine refactor. Changing the container image triggers a re-pull with the new image. |
For 0.2 we are only handling modify events where the pod is marked for termination. We need to implement functionality for stopping the old "container" and starting a new one when
spec.containers[*].image
orspec.initContainers[*].image
changeThe text was updated successfully, but these errors were encountered: