Search code examples
javaspringcronjvmkubernetes

Distributed CRON in Kubernetes


distributed CRON in Kubernetes is still a work in progress (https://github.com/kubernetes/kubernetes/issues/2156).

What do you use for CRON jobs in Kubernetes today?

Do you recommend any solution that works well with Spring/JVM-based services? Spring/JVM startup time is quite high and if CRON scheduler started a new JVM for each job, startup time might be much higher than time of actual work - is there any solution that could run the job in existing JVM?

Thank you, Jakub


Solution

  • I think Mesos Chronos is still ideal solution.