-
Notifications
You must be signed in to change notification settings - Fork 548
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
Configure bin-packing in Helm chart #448
Comments
@Huang-Wei Sorry for tagging, any pointers that you can share would be of great help, and do you think should packing be enabled by default? |
Bin-packing can be achieved by configuring the in-tree plugins:
score:
enabled:
- name: RequestedToCapacityRatio
weight: 10 # a user-defined weight
disabled:
- name: NodeResourcesLeastAllocated
pluginConfig:
- name: RequestedToCapacityRatio
args:
shape:
- utilization: 0
score: 0
- utilization: 100
score: 10
# resources: # without explicitly defining resources, the above config will apply to cpu and memory Please note that it's tangant with enabling co-scheduling (or whatever other plugin) or not. It's just a standalone plugin that favors nodes with higher resource utilization than others. I don't have cycles to look into how to reflect the config into Helm charts, but it's doable. Help is wanted. /help |
@Huang-Wei: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I will try to investigate if no one else is going to do it. |
I should have commented that it's not planned to support it in scheduler-plugins. (and hence removed the /help label) The reason is that bin-packing is supported via one of the in-tree plugins, so the problem domain applies to the upstream default-scheduler, instead of any scheduler plugin that adopts it. /close not-planned |
@Huang-Wei: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hello,
Any pointers on how to enable packing? I read kubernetes has bin-packing, how do we use such plugins in co-scheduler using helm commands?
The text was updated successfully, but these errors were encountered: