-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflows should be schedulable like cronjob #29
Comments
Assigning to me since I'm writing the proposal for this. |
I see that a "cron workflow controller: new code" commit went in last month (on December 7, 2018). I don't see any examples in the commit. We are definitely interested in using this feature. We did a quick merge from your repo into our fork just to try it out. We can build and install the upgraded workflow-controller and even create a CronWorkflow resource (I determined the correct yaml by reading your go source code). The job doesn't appear to run as scheduled - which is completely understandable since you haven't closed this case yet. We could probably test something for you on AWS EKS if you want. |
@davidc-donorschoose, my understanding is that the cron-workflow though quite green code should work. Many apologizes if this is not the case. |
We need to create examples in the doc for CronWorkflow and DaemonSetJob |
Apologies for the delay. I realized that we tested with a manifest that left out a couple nested yaml tags under the "workflowTemplate". We'll fix this and re-test, which I'm pretty sure will work. Then I'll get you a gist with our yaml that you could consider as a example. |
My CronWorkflow didn't run as expected. I created it with the manifest in this gist (https://gist.github.com/davidc-donorschoose/79bb22c203000d4ecea702618923e709). I used UTC for the Schedule set 5 minutes in the future when I ran the However, it didn't run. I don't see any Workflow, Jobs, or Pods running. BTW, to see Workflow resources, I have to use the fully scoped custom resource type |
@davidc-donorschoose thank for the use case. Going to have a look and if you agree adding something very similar to our e2e test. |
Of course, you may use the CronWorkflow manifest in that gist for any purpose. Please let me know if you find something wrong in my yaml code or if you do get something similar to work. Also, please reach out if you think I can help with AWS EKS testing in some way. I suppose it is possible that EKS has some custom resource incompatibility with your CronWorkflow implementation (although we can create an ordinary Workflow and that does run). |
@davidc-donorschoose thanks. |
EKS is currently on K8s-v1.10.11 |
Hi @davidc-donorschoose |
Long story short. One should be able to schedule a workflow like kube cronjob.
The text was updated successfully, but these errors were encountered: