This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply default pod template to PytorchJob pods (#297)
* Merge pod template spec with pod spec in separate func Signed-off-by: Fabio Grätz <[email protected]> * Merge pod template spec with pod spec in separate func Signed-off-by: Fabio Grätz <[email protected]> * Apply pod template to pytorch job pod spec Signed-off-by: Fabio Grätz <[email protected]> * Handle nil podspecs before merging Signed-off-by: Fabio Grätz <[email protected]> * Pass both default and primare container name to MergePodSpecs Signed-off-by: Fabio Grätz <[email protected]> * Move podSpec.DeepCopy into MergePodSpecs Signed-off-by: Fabio Grätz <[email protected]> * Add tests Signed-off-by: Fabio Grätz <[email protected]> * Merge pod template into tfjob and mpijob Signed-off-by: Fabio Grätz <[email protected]> * Lint Signed-off-by: Fabio Grätz <[email protected]> * Correct usage of default and primate container (template) name Signed-off-by: Fabio Grätz <[email protected]> * Override mpi default container name Signed-off-by: Fabio Grätz <[email protected]> * Carry over ObjectMeta from pod template Signed-off-by: Fabio Grätz <[email protected]> * Remove old `TestBuildPodWithSpec` test Signed-off-by: Fabio Grätz <[email protected]> Signed-off-by: Fabio Grätz <[email protected]> Co-authored-by: Fabio Grätz <[email protected]>
- Loading branch information
Showing
6 changed files
with
212 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.