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

[Feature] Support for changing scheduler configuration #3532

Closed
EppO opened this issue Mar 13, 2023 · 5 comments
Closed

[Feature] Support for changing scheduler configuration #3532

EppO opened this issue Mar 13, 2023 · 5 comments
Assignees
Labels
feature-request Requested Features

Comments

@EppO
Copy link

EppO commented Mar 13, 2023

Is your feature request related to a problem? Please describe.
When trying to trigger down scaling of under utilized nodes, default kubernetes scheduler strategy LeastAllocated makes it difficult to achieve.

Describe the solution you'd like
Allow the AKS admin to change the KubeSchedulerConfiguration's default settings like described here: https://kubernetes.io/docs/reference/scheduling/config/

Describe alternatives you've considered
I tried to use descheduler but it fell short for the same reason.

Additional context
The MostAllocated strategy scores the nodes based on the utilization of resources, favoring the ones with higher allocation, maximizing usage of busiest nodes allowing the autoscaler to downscale under utilized nodes.
The RequestedToCapacityRatio strategy allows the users to specify the resources along with weights for each resource to score nodes based on the request to capacity ratio. This allows users to bin pack extended resources by using appropriate parameters to improve the utilization of scarce resources in large clusters. It favors nodes according to a configured function of the allocated resources

@EppO EppO added the feature-request Requested Features label Mar 13, 2023
@EppO EppO changed the title [Feature] Support for changing KubeSchedulerConfiguration [Feature] Support for changing scheduler configuration Mar 13, 2023
@subhranil05
Copy link

@EppO was there any workaround for this feature?

@EppO
Copy link
Author

EppO commented Sep 13, 2023

@EppO was there any workaround for this feature?

No, there is still no way to configure the scheduler config in AKS. I'm more interested about Karpenter support #2712 which provides better scheduling/autoprovisioning capabilities though.

@hydracz
Copy link

hydracz commented Oct 14, 2023

we are facing the same issue there, when using cluster autoscaler, the default one doesn't works very well because new coming pod are get allocated to all the node with less utilization , this cause a waste of resource.

can we expect to support add support for MostAllocated in some newer release? other wise we have to use a DIY kubernetes on Azure VM instead

@sravanakinapally
Copy link

Are there any plans to expose KubeSchedulerConfiguration changes or the ability to modify the AKS cluster?

@varora24
Copy link

We have added support for scheduler configuration to our roadmap as planned/committed.
Linking the open feature and closing this issue - #4203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Requested Features
Projects
None yet
Development

No branches or pull requests

6 participants