-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Cannot scale up nodegroup after adding an ASG tag node-template label #5718
Comments
Kudos to @jeevb for tracking this down to the I don't see Looks like this flag was introduced in #4669 and defaulted to 10 years for back compat reasons. Given the implications of not setting it, I'm curious what the risks are of defaulting to a more sane (but still performant) value of ~24h. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Which component are you using?:
cluster-autoscaler
What version of the component are you using?:
1.24.0 and 1.26.2
Component version:
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?:
Using EKS
What did you expect to happen?:
I'm using ASG tags for node-template labels to support scaling nodegroups from 0 as described here. Specifically
k8s.io/cluster-autoscaler/node-template/label/<label-name>: <label-value>
.When using a NodeSelector in my pod spec, I expect the nodegroup to scale up from 0.
What happened instead?:
Nodegroup did not scale up with error
How to reproduce it (as minimally and precisely as possible):
I don't have a great repro at this point, but I suspect it's along the lines of
Anything else we need to know?:
Restarting autoscaler resolves the issue and allows the nodegroup to scale up from 0. Based on the discussion here, I suspect the nodegroup info is getting cached and autoscaler isn't able to discover the newly applied labels.
The text was updated successfully, but these errors were encountered: