简体   繁体   中英

Kubernetes: AWS Cluster Autoscaler

Kubernetes: Aws Cluster Autoscaler is scaling one instance at a time but what If I want to scale up with 2 instances at a time and scale down with 1.

I have not tested this, but this is how I would go about the problem in general:

  1. Set up an AWS Autoscaling Group with a Step Scaling Policy . Step Scaling can do the sort of scaling you are after with adding several capacity units (instances), dependent on CloudWatch alarms (which you also will have to set up, both for to trigger scale ups and scale downs).
  2. Configure your K8s Autoscaler to point to the ASG created in step 1, either by tag-based autodiscovery or manually .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM