Skip to content

Auto Scaling Group Suspend Processes functionality #3712

@timothymahoney

Description

@timothymahoney

/kind feature

Describe the solution you'd like
Auto Scaling groups give operators the ability to suspend certain functions on a case-by-case basis

AWS doc here:
https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_SuspendProcesses.html

Go SDK doc here:
https://docs.aws.amazon.com/sdk-for-go/api/service/autoscaling/#AutoScaling.SuspendProcesses

It would be good to be able to perform actions against the default processes that run, but in particular it's valuable to be able to disable the AZRebalance process for Kubernetes clusters that run the cluster-autoscaler. They can thrash against each other spinning up and down nodes which causes significant instability that can be difficult to diagnose.

Anything else you would like to add:
I would expect to be able to set an array of the processes I want to disable, example:

---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: AWSMachinePool
metadata:
  name: something
spec:
  suspendProcesses:
  - AZRebalance
  - etc

Thank you for all the excellent work done so far!

Environment:

  • Cluster-api-provider-aws version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions