mirror of
https://github.com/hanzo-ml/trainer.git
synced 2026-09-24 00:31:34 +00:00
* feat(controller): Implement PodSpecOverride API Signed-off-by: Andrey Velichkevich <[email protected]> * Update API comments Signed-off-by: Andrey Velichkevich <[email protected]> * Fix InitContainers override Signed-off-by: Andrey Velichkevich <[email protected]> * Fix generate Signed-off-by: Andrey Velichkevich <[email protected]> * Update pkg/apis/trainer/v1alpha1/trainjob_types.go Co-authored-by: Shao Wang <[email protected]> Signed-off-by: Andrey Velichkevich <[email protected]> * Change API to targetJob and add validation Signed-off-by: Andrey Velichkevich <[email protected]> * Add unit test for the JobSet builder Signed-off-by: Andrey Velichkevich <[email protected]> * Add integration tests Signed-off-by: Andrey Velichkevich <[email protected]> * Update pkg/apis/trainer/v1alpha1/trainjob_types.go Co-authored-by: Shao Wang <[email protected]> Signed-off-by: Andrey Velichkevich <[email protected]> * Update pkg/apis/trainer/v1alpha1/trainjob_types.go Co-authored-by: Shao Wang <[email protected]> Signed-off-by: Andrey Velichkevich <[email protected]> * Update pkg/apis/trainer/v1alpha1/trainjob_types.go Co-authored-by: Antonin Stefanutti <[email protected]> Signed-off-by: Andrey Velichkevich <[email protected]> * Merge PodSpecOverrides before the build phase Signed-off-by: Antonin Stefanutti <[email protected]> * Fix make generate Signed-off-by: Antonin Stefanutti <[email protected]> * Fix PodSpec SMT patch unmarshalling into JobSet template Signed-off-by: Antonin Stefanutti <[email protected]> * Add UT for volumes PodSpecOverrides Signed-off-by: Antonin Stefanutti <[email protected]> * Add UT for tolerations PodSpecOverrides Signed-off-by: Antonin Stefanutti <[email protected]> * Add UT for node selector PodSpecOverrides Signed-off-by: Antonin Stefanutti <[email protected]> * Revert back to using TargetJobs []PodSpecOverrideTargetJob Signed-off-by: Antonin Stefanutti <[email protected]> * Run make fmt Signed-off-by: Antonin Stefanutti <[email protected]> * Add target jobs unicity validation for PodSpecOverrides Signed-off-by: Antonin Stefanutti <[email protected]> * Update with code review from @tenzen-y Signed-off-by: Antonin Stefanutti <[email protected]> --------- Signed-off-by: Andrey Velichkevich <[email protected]> Signed-off-by: Antonin Stefanutti <[email protected]> Co-authored-by: Shao Wang <[email protected]> Co-authored-by: Antonin Stefanutti <[email protected]> Co-authored-by: Antonin Stefanutti <[email protected]>