Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Add Cron trait for Tasks. #40

Open
technosophos opened this issue Jul 12, 2019 · 3 comments
Open

Add Cron trait for Tasks. #40

technosophos opened this issue Jul 12, 2019 · 3 comments
Labels
Type: Enhancement New feature or request

Comments

@technosophos
Copy link
Contributor

This may be a tricky one because Kubernetes distinguishes between Job and CronJob.... so it sorta changes the workload type

@hongchaodeng
Copy link
Member

How about make a "CronTask" workload?
That would be closer to k8s.

@technosophos
Copy link
Contributor Author

Feel free to propose that in the spec repo. The earlier feeling had been that running periodically is an operational aspect, not a developer decision. I tend to agree with that, though I don't know how to make that work with the way Kubernetes does CronJob objects. Essentially, we would have to write a trait that replaces the Job with a CronJob, and that seems beyond the scope of what a trait ought to do.

@technosophos
Copy link
Contributor Author

I think we should consider this one "low priority" since it is both difficult and not defined in the core spec.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants