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

POC: Evaluate using a proxy kube-scheduler to run simulations #897

Open
unmarshall opened this issue Jan 23, 2024 · 0 comments
Open

POC: Evaluate using a proxy kube-scheduler to run simulations #897

unmarshall opened this issue Jan 23, 2024 · 0 comments
Assignees
Labels
area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension kind/poc Proof of concept or prototype priority/2 Priority (lower number equals higher priority)

Comments

@unmarshall
Copy link
Contributor

unmarshall commented Jan 23, 2024

How to categorize this issue?
/area control-plane
/kind poc
/priority 2

What would you like to be added:
We would like to do a POC on if its possible to delegate the entire simulation to be done by a proxy kube-scheduler which is run solely for taking cluster autoscaling decisions. This is deployed in addtion to the actual kube-scheduler. It will operate on virtual nodes and not real nodes. The simulated decision should then be used by the cluster autoscaling module.

Why is this needed:
The upstream k8s cluster autoscaler uses kube-scheduler packages/APIs to run pod scheduling simulations. As part of that the simulation it only runs the filters and not the scorers. It also has gaps with kube-scheduler (e.g. kubernetes/autoscaler#6227) due to which decision taken by kube-scheduler is not in sync with the one taken by CA which results in pending pods not getting scheduled for longer times.
We see the same issues also in karpenter (e.g. see comment) where simulations done by karpenter and kube-scheduler differ and is always a catch-up game that needs to be played.

@unmarshall unmarshall added the kind/enhancement Enhancement, improvement, extension label Jan 23, 2024
@gardener-robot gardener-robot added area/control-plane Control plane related kind/poc Proof of concept or prototype priority/2 Priority (lower number equals higher priority) labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension kind/poc Proof of concept or prototype priority/2 Priority (lower number equals higher priority)
Projects
None yet
Development

No branches or pull requests

6 participants