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(controller): incorrect cpu/mem resources calculation #1477

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Jan 23, 2024

The default resource is used as a reference to all the places that need to have a resource setting (for example, a vertex numa container), once there's a customization on the particular container resource, it updates all, which is wrong.

Fix it by referencing to a new instance of the default resource.

Signed-off-by: Derek Wang <whynowy@gmail.com>
@whynowy whynowy requested a review from vigith as a code owner January 23, 2024 19:28
@whynowy whynowy merged commit 0c53e8a into numaproj:main Jan 23, 2024
17 of 20 checks passed
@whynowy whynowy deleted the resourcefix branch January 23, 2024 19:33
whynowy added a commit that referenced this pull request Jan 23, 2024
Signed-off-by: Derek Wang <whynowy@gmail.com>
(cherry picked from commit 0c53e8a)
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.

None yet

2 participants