argo-ml
argo-ml copied to clipboard
Make controllers multi-namespace
Currently all controllers only monitor default namespace, we should monitor all, and if resource is created, it should be created in correct ns
Adding more context.
Most of our services were created quickly and really work only for default namespace.
For example https://github.com/github/argo-ml/blob/master/hyperparam-controller/controller.py#L66
We need to change this to listen on all namespaces, then get namespace of created custom resource and use it to, for example, create new workflow.
Changes required in:
- [ ] CronWorkflow
- [ ] Hyperparam workflow
- [ ] Tensorboard spawner
- [ ] Garbage collector