-
Notifications
You must be signed in to change notification settings - Fork 637
Description
/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):