Comments (7)
currently (it's not merged yet) you need to set a label:
keel.sh/pollSchedule=@every 10m
would you want to override default to something else? definitely a reasonable feature then
from keel.
on polling
branch default value is const KeelPollDefaultSchedule = "@every 1m
but it's configurable and uses https://github.com/rusenask/cron so you can define proper schedules like:
Entry | Description | Equivalent To
----- | ----------- | -------------
@yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 *
@monthly | Run once a month, midnight, first of month | 0 0 0 1 * *
@weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0
@daily (or @midnight) | Run once a day, midnight | 0 0 0 * * *
@hourly | Run once an hour, beginning of hour | 0 0 * * * *
from keel.
can that be set via env var passed to container?
from keel.
nice, so with the annotation I can set different time intervals for each deployment.?
from keel.
yeah, polling trigger sets up custom cron schedules (if specified) for all watched deployments, it might have been slightly overengineered though. Current limitation is however that if you have deployment A and deployment B that rely on the same image - they will share the same schedule (the last one that starts watching will update schedule).
from keel.
available in 0.3.0 release,
more info https://github.com/rusenask/keel#polling
apparently had to use annotations to be able to use more symbols @every 10m
,
example available here https://github.com/rusenask/keel#polling
from keel.
we can close this one
from keel.
Related Issues (20)
- Deployment will not be updated HOT 1
- Github webhooks integration is broken HOT 4
- need some help setting up dev environment HOT 1
- fails to pull images built for single platform with docker build and push action HOT 4
- Help with dev environment HOT 1
- Feature: Update non `images` fields HOT 2
- Assuming registry up-to-date status?
- Keel configuration to work behind a reverse proxy
- *v1beta1.CronJob: the server could not find the requested resource HOT 2
- Notifications feature proposal
- Website search bar not working
- Initial tag required? HOT 1
- High CPU usage HOT 5
- Fix documentation to add "Registry" webhook
- Bump helm chart release HOT 4
- Helm chart: Ingress not working with release name
- Add support for ntfy HOT 1
- Can keel handle multiple containers in a pod deployment? HOT 3
- Cannot use registry mirror
- keel is using deprecated api /apis/batch/v1beta1/cronjobs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keel.