workflow-controller
workflow-controller copied to clipboard
Kubernetes workflow controller
Long story short. One should be able to schedule a workflow like kube cronjob.
Testcase here: https://gist.github.com/davidc-donorschoose/79bb22c203000d4ecea702618923e709
The workflow controller should allow configuring the API 'GroupName' at start time thanks to a command line flag.
like for the labels in issue #62, Annotations present in `spec.template.metadata.annotations` should be added in the `Job.metadata.annotations` when it is created.
Now that https://github.com/kubernetes/kubernetes/pull/55168 got merged we may want to add `status` subresources to Workflow (and CronWorkflow).
similarly to what is done by `job` in `kube`.
Currently, Workflow can have one of two possible statuses: 1. `WorkflowComplete` - when all its steps are completed 2. `WorkflowFailed` - when "Deadline" is exceeded IMHO, it should be **failed**...