nicolaferraro opened a new issue #1182: Add native support for CronJobs URL: https://github.com/apache/camel-k/issues/1182 To complete the Camel K "serverless experience", a simple addition would be the support for Kubernetes CronJob out of the box. A user running an integration like: ``` from('timer:tick?period=1m').to('...') ``` Can have it materialized as cronjob. In practice, a pod will be created by Kubernetes only when it's time to run the integration and there's no pod running between executions. This rocks in combination with Quarkus. There will be periods of the timer that cannot be supported (sub minute, or periods that cannot be expressed by a cron), but that should be fine, we fallback to normal implementation. Equivalently, we can also add: ``` from('quartz:tick?cron=* 0/1 * * ? *').to('...') ``` The translation is easier, even if quartz supports 6-7 fields in the cron expression, while Kubernetes only 5 (no seconds, no years). This requires some changes also at runtime level.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services