Validate worker placement policy#3452
Open
owenshuo wants to merge 1 commit into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- add worker placement policy definitions for cpu, gpu, and isolated worker classes\n- validate deployment manifests for workload class, nodeSelector, tolerations, and required affinity\n- return deployment summaries with selected workload class and placement policy\n- add tests for valid manifests and placement drift failures\n\nFixes #3446\n\n## Validation\n- python3 -m pytest tests/test_deploy_placement.py tests/test_config.py\n- python3 -m flake8 src/deploy tests/test_deploy_placement.py\n- git diff --check