argo-ml icon indicating copy to clipboard operation
argo-ml copied to clipboard

Make controllers multi-namespace

Open inc0 opened this issue 6 years ago • 1 comments

Currently all controllers only monitor default namespace, we should monitor all, and if resource is created, it should be created in correct ns

inc0 avatar Apr 26 '19 21:04 inc0

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

inc0 avatar Jul 19 '19 23:07 inc0