Skip to content

Conversation

@david-garcia-garcia
Copy link
Collaborator

@david-garcia-garcia david-garcia-garcia commented May 20, 2025

This PR adds a new Keel annotation :

keel.sh/updateScheduleCronTabs: 0 0 3 * * 0|60m

The annotation can contain more than one schedule configuration separated by comas, each configuration consists of a cron and a window size. I.e. 0 0 3 * * 0|60m the resource will be updated between 3 and 4 A.M every sunday.

For this to work make sure that the pollSchedule frequency for that image is less than the resource update window.

The purpose of this is to circunvent current limitations regarding control on when images are effective applied to K8S resources. The existing /pollSchedule annotation is aimed at controlling watchers image polling. Because watchers are shared, you have little control on when images are effectively deployed.

This opens the door to new use cases, i.e. having update rings.

@voodoodror
Copy link

Hey! Great feature here. Thanks @david-garcia-garcia ! Is there any chance we can push this forward?

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

Successfully merging this pull request may close these issues.

3 participants