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

aws: Add capacityRebalance flag for ASGs #14583

Merged
merged 5 commits into from Nov 22, 2022

Conversation

heybronson
Copy link
Contributor

Exposes a new CapacityRebalance flag which enables/disables ASG capacity rebalancing: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html

This is very helpful for users who have spot instanceGroups and want to proactively have ASG replace instances that have received a rebalance recommendation (meaning they're at elevated risk of interruption by AWS).

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 18, 2022
@k8s-ci-robot k8s-ci-robot added area/api area/provider/aws Issues or PRs related to aws provider labels Nov 18, 2022
Copy link
Member

@hakman hakman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add to RenderTerraform.

@olemarkus
Copy link
Member

Can you also add release notes and docs?

@hakman hakman changed the title add capacityRebalance flag for ASGs aws: Add capacityRebalance flag for ASGs Nov 18, 2022
@k8s-ci-robot k8s-ci-robot added area/documentation needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. do-not-merge/contains-merge-commits and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 18, 2022
@heybronson heybronson requested review from hakman and johngmyers and removed request for mikesplain, joshbranham and hakman November 18, 2022 19:30
@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. do-not-merge/contains-merge-commits and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 19, 2022
docs/instance_groups.md Show resolved Hide resolved
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
@hakman
Copy link
Member

hakman commented Nov 22, 2022

Thanks @heybronson. Please also squash the commits.
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 22, 2022
@hakman
Copy link
Member

hakman commented Nov 22, 2022

Actually, it looks fine.
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 22, 2022
@k8s-ci-robot k8s-ci-robot merged commit 70d0ff8 into kubernetes:master Nov 22, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.26 milestone Nov 22, 2022
@heybronson heybronson deleted the capacity-rebalance branch November 22, 2022 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/api area/documentation area/provider/aws Issues or PRs related to aws provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants