-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate pytorchjob workers are configured when elasticpolicy is conf…
…igured (#2320) * Update pytorchjob webhook to validate elastic policy without worker Signed-off-by: tarat44 <[email protected]> Co-authored-by: ricardov1 <[email protected]> Co-authored-by: alenawang <[email protected]> * Update pkg/webhooks/pytorch/pytorchjob_webhook.go Co-authored-by: Andrey Velichkevich <[email protected]> Signed-off-by: Tara Tufano <[email protected]> * Make replica minimum separate validation, fix field path Signed-off-by: tarat44 <[email protected]> Co-authored-by: ricardov1 <[email protected]> --------- Signed-off-by: tarat44 <[email protected]> Signed-off-by: Tara Tufano <[email protected]> Co-authored-by: ricardov1 <[email protected]> Co-authored-by: alenawang <[email protected]> Co-authored-by: Andrey Velichkevich <[email protected]>
- Loading branch information
1 parent
265d4c7
commit 2392c36
Showing
2 changed files
with
100 additions
and
7 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