-
Notifications
You must be signed in to change notification settings - Fork 161
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
K8s DaemonSet Incompatible with Autoscaling #888
Comments
Just a small update here, I am consistently seeing errors whenever a node scales up. Generally all pods created during a scale up will fail if when they are scheduled to the new node. The failure seems to be that the pod gets scheduled to the node between the time the Generally constructs like |
Hi @11xor6, thanks for reporting the issue.
Not sure how that can be the case though, because no sysbox-pods will be scheduled on the node until it's labeled with
So something else must be going on (?) |
BTW, in case you want to play around with the sequencing of steps in sysbox-deploy-k8s, you can follow these steps:
|
When the sysbox
DaemonSet
is deployed against an autoscaling node pool (GKE, but probably relevant on other providers) pods fail to be scheduled on the Node(s). The reason for this is that theRuntimeClass
configuration adds thesysbox-runtime: running
label to the pod'snodeSelector
which then prevents the pod from matching the node pool and in turn preventing scale-up.Switching the
RuntimeClass
to use a static label for node selection seems workable given the taint added to the node during installation, however I have randomly (and very rarely) seen issues with pods dying.The text was updated successfully, but these errors were encountered: