Skip to content
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

support AWS "Instance type requirements" #4479

Closed
garrygerber opened this issue Nov 28, 2021 · 10 comments · Fixed by #4588
Closed

support AWS "Instance type requirements" #4479

garrygerber opened this issue Nov 28, 2021 · 10 comments · Fixed by #4588
Labels
area/cluster-autoscaler area/provider/aws Issues or PRs related to aws provider kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@garrygerber
Copy link

garrygerber commented Nov 28, 2021

Which component are you using?:

Cluster-Autoscaler

Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:

AWS added a new way of specifying instance types wanted.
they do this by specifying a set of instance characteristics - requirements.
which obsolete the need of specifying instance types, and in turn, breaks the CA when fetching the ASG info

Describe the solution you'd like.:

CA needs to support not knowing which instance type is used by the ASG

Describe any alternative solutions you've considered.:

CA will reed all the instance requirements from the ASG and calculate which instance type ASG will use when needed

Additional context.:

using CA v1.22.1 , error is:
E1128 15:47:36.224041 1 static_autoscaler.go:286] Failed to get node infos for groups: ASG "......." uses the unknown EC2 instance type ""

new settings in console looks:
Screen Shot 2021-11-28 at 17 50 31

@gjtempleton
Copy link
Member

/area provider/aws

Hey, thanks for the suggestion. When raising feature requests like this, it helps us a huge amount if you fill out the answers to the questions in the feature request issue template including linking to any relevant external documentation.

@k8s-ci-robot k8s-ci-robot added the area/provider/aws Issues or PRs related to aws provider label Nov 28, 2021
@gjtempleton gjtempleton added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 28, 2021
@garrygerber
Copy link
Author

Hey @gjtempleton, it would help a lot if you can point me to the lines of code that handle the following logics:

  • request for Auto Scaling Group details
  • calculation of required resources and scaling the ASG accordingly

Thanks!

@AustinSiu
Copy link
Contributor

@garrygerber thank you for opening the issue! I've submitted a PR to help address this issue.

@k8s-triage-robot
Copy link

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:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 10, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 10, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

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.

@garrygerber
Copy link
Author

/reopen

@k8s-ci-robot
Copy link
Contributor

@garrygerber: Reopened this issue.

In response to this:

/reopen

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.

@eptiger
Copy link

eptiger commented Aug 11, 2022

Good news @garrygerber - a PR was just accepted a few days ago for supporting Instance Requirements: fed54b5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler area/provider/aws Issues or PRs related to aws provider kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants