-
Notifications
You must be signed in to change notification settings - Fork 21
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
Internal feature: Stateless scheduler #995
Comments
This was referenced Nov 18, 2024
sharnoff
added a commit
that referenced
this issue
Nov 18, 2024
I think the comments were just never updated when the autoscaler-agent was moved from a per-pod sidecar to a per-node daemonset. Found this while working on some background work for #995.
sharnoff
added a commit
that referenced
this issue
Nov 19, 2024
Similar to what was done in #1055, we need to explicitly add tolerations to the scheduler to get it to be recreated more quickly on node failure. This is particularly necessary because we don't have #995. We could wait for that, but it's a lot of work, and this is a small thing we can do in the meantime. Fixes neondatabase/cloud#17298, part of neondatabase/cloud#14114.
Status update: I've written a draft implementation, doesn't yet pass tests. This week, I'll finish up that initial implementation, and write up an RFC/design doc. |
Status update: #1163 is in review, with a number of changes left for me to make. It's also been thoroughly tested on staging. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description / Motivation
Currently, the scheduler acts as the source of truth for the cluster state. We'd like to change that because of the following reasons:
a. The existence of the
Buffer
values.b. The notion of
lastPermit
.Feature idea(s) / DoD
Buffered
resources andlastPermit
.Implementation ideas
The scheduler's state and autoscaler-agent ↔ scheduler protocol can be moved entirely to annotations on the associated VirtualMachine object.
Related work
The implementation of neondatabase/neon#8111 might allow us to significantly simplify autoscaler-agent (or even merge it's remaining functionality into other components).
Further information
There are more details in the internal RFC.
The text was updated successfully, but these errors were encountered: