Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add node affinity based on resource label #152

Merged
merged 2 commits into from
Nov 8, 2023
Merged

fix: add node affinity based on resource label #152

merged 2 commits into from
Nov 8, 2023

Conversation

Fei-Guo
Copy link
Collaborator

@Fei-Guo Fei-Guo commented Nov 8, 2023

By design, the resource.labelselector should be used to add node affinity to make sure workload run in the provisioned nodes.
The workload label selector should use a different one. This makes it possible for two workspaces to share the same nodes.

Also, remove pod anti-affinity rule which is unnecessary. The Pod GPU request makes sure the GPU node is not overcommitted.

@Fei-Guo Fei-Guo merged commit c997133 into main Nov 8, 2023
5 checks passed
@Fei-Guo Fei-Guo deleted the fguo-dev2 branch November 8, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants