Skip to content
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

Feature request: max image age #889

Open
jgournet opened this issue Feb 26, 2025 · 0 comments
Open

Feature request: max image age #889

jgournet opened this issue Feb 26, 2025 · 0 comments

Comments

@jgournet
Copy link

Hi,

We have a few applications that are set to run as "latest" image ( I know, we should not - but we do).
Once written to ECR, this "latest" will stay there forever ... so it will soon become "not latest".

From reading #843 , it seems some users have decided to wipe all images via ECR policy to force this - which introduces quite some issues (PullImageBackOff namely).

What about adding a new setting like "max_image_days" (default to "0" for infinite, to avoid changing current deployments) ? then k8s-image-swapper could just push again when it reaches that max_age.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant