-
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
Extended resources provided by ASG via tags is not working #5164
Comments
We're seeing the same result in our end, but for labels The only thing that I see that changed here, may be PR #4238 that plays around with labels? I never checked this code in depth before, but the |
@ZimmSebas sound similar but its kind of different bug, yours could be related to #4238 Bug that I'm describing is more complex.
as inside computeExpansionOption() predicates will fail
with predicate checking error: Insufficient custom-resouce; so it will never reach
k8s.io/cluster-autoscaler/node-template/resources annotation
|
I spent a little while trying to track this down and couldn't figure out how to repro. I know we are using |
@drmorr0 which version and which cloudprovider? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Which component are you using?:
autoscaler
What version of the component are you using?:
1.25.0-alpha.0 AND 1.23.1
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?:
sanbox ( AWS )
What did you expect to happen?:
I tried to use extended resource defined as tag in ASG according documentation for AWS it should be
k8s.io/cluster-autoscaler/node-template/resources/<resource-name>
https://github.com/kubernetes/autoscaler/blob/cluster-autoscaler-1.23.1/cluster-autoscaler/cloudprovider/aws/README.md#auto-discovery-setup . This sould work at least for node-group-auto-discovery mode. Is anybody successfully using it?What happened instead?:
This tag is never read or ignored. CA is still complaining about insufficient resource and not scaling up.
How to reproduce it (as minimally and precisely as possible):
Add extended resource as descirbe in https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/
Add
k8s.io/cluster-autoscaler/node-template/resources/<resource-name>
tag with same reasonable value to ASGAnything else we need to know?:
I did some tests, it looks like this is never executed https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/aws_manager.go#L412
The text was updated successfully, but these errors were encountered: