-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Cluster autoscaler barfs on ASG-based instance groups that specify instanceRequirements
#15306
Comments
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 |
/remove-lifecycle stale |
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 |
/remove-lifecycle stale |
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 |
/kind bug
1. What
kops
version are you running? The commandkops version
, will displaythis information.
1.26.2
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.1.26.3
3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
Deploy a cluster with autoscaling enabled and with an instance group that includes an instanceRequirements section, e.g.:
5. What happened after the commands executed?
The cluster deploys just fine, but then the cluster autoscaler gets stuck and never actually autoscales anything:
6. What did you expect to happen?
Cluster autoscaler shouldn't get stuck in an error loop.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
See snippet above.
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
No problems with the kOps output.
9. Anything else do we need to know?
It looks like the cluster autoscaler calls the EC2 API
GetInstanceTypesFromInstanceRequirements
to figure out which instance types an ASG includes, and the control plane role that kOps generates doesn't include that IAM permission - seems like it would be an easy fix to include that permission in the role.The text was updated successfully, but these errors were encountered: