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: watch and enqueue node events when scheduler enabled #1352

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

rohantmp
Copy link
Contributor

@rohantmp rohantmp commented Nov 13, 2023

when using the vcluster scheduler we take into account consumed resources in the pod, but don't immediately trigger the node syncer to do this. This sometimes leads to scheduling resources onto nodes where they don't fit.

Signed-off-by: Rohan CJ rohantmp@gmail.com

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix
/kind enhancement
/kind feature
/kind documentation
/kind test

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves ENG-2340

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster scheduler was late to see resource consumption

What else do we need to know?

@rohantmp
Copy link
Contributor Author

Updated description

@rohantmp
Copy link
Contributor Author

cleaned up some comments, removed a debug statement

pkg/controllers/resources/nodes/syncer.go Outdated Show resolved Hide resolved
pkg/constants/indices.go Outdated Show resolved Hide resolved
pkg/controllers/resources/nodes/syncer.go Outdated Show resolved Hide resolved
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
@FabianKramm FabianKramm merged commit 7b25ac6 into loft-sh:main Nov 15, 2023
47 checks passed
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