Open lukasheinrich opened 7 years ago
For better testability separate the creation of the job spec from the actual submission
https://github.com/reanahub/reana-job-controller/blob/master/reana_job_controller/k8s.py#L56
right now it's done in one function.
It is foreseen to switch from pykube to kubernetes official python client (it wasn't available back when we created this component) so a big refactor should go along with this change.
pykube
kubernetes
For better testability separate the creation of the job spec from the actual submission
https://github.com/reanahub/reana-job-controller/blob/master/reana_job_controller/k8s.py#L56
right now it's done in one function.