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

How to specify algorithm-provider for kube-scheduler #609

Closed
zhiweiv opened this issue Aug 17, 2018 · 3 comments
Closed

How to specify algorithm-provider for kube-scheduler #609

zhiweiv opened this issue Aug 17, 2018 · 3 comments

Comments

@zhiweiv
Copy link

zhiweiv commented Aug 17, 2018

We want to use MostRequestedPriority in scheduler, from the source code https://github.com/kubernetes/kubernetes/blob/master/pkg/scheduler/algorithmprovider/defaults/defaults.go, if we specify ClusterAutoscalerProvider for kube-scheduler, it will use MostRequestedPriority

// Registers algorithm providers. By default we use 'DefaultProvider', 
// but user can specify one to be used by specifying flag.
factory.RegisterAlgorithmProvider(factory.DefaultProvider, predSet, priSet)
// Cluster autoscaler friendly scheduling algorithm.
factory.RegisterAlgorithmProvider(ClusterAutoscalerProvider, predSet,
	copyAndReplace(priSet, "LeastRequestedPriority", "MostRequestedPriority"))

https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/

Can we achive this goal in AKS?

Thanks

@dstrebel
Copy link
Contributor

AKS doesn't provide access to the kube-scheduler, so you're unable to change parameters in the kube-scheduler configuration.

@zhiweiv
Copy link
Author

zhiweiv commented Aug 21, 2018

ok, thanks. I think I have to try custom scheduler.
https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers

@zhiweiv zhiweiv closed this as completed Aug 21, 2018
@zhiweiv
Copy link
Author

zhiweiv commented Aug 21, 2018

@Azure Azure locked as resolved and limited conversation to collaborators Aug 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants