GithubHelp home page GithubHelp logo

Comments (7)

rusenask avatar rusenask commented on July 24, 2024 1

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.

rusenask avatar rusenask commented on July 24, 2024

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.

rimusz avatar rimusz commented on July 24, 2024

can that be set via env var passed to container?

from keel.

rimusz avatar rimusz commented on July 24, 2024

nice, so with the annotation I can set different time intervals for each deployment.?

from keel.

rusenask avatar rusenask commented on July 24, 2024

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.

rusenask avatar rusenask commented on July 24, 2024

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.

rimusz avatar rimusz commented on July 24, 2024

we can close this one

from keel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.