简体   繁体   中英

How to check if auto-scaling is enabled for an ECS-service using AWS go SDK?

As the question above states, is there any way to determine if the autoscaling for a service is enabled. I have been looking through the AWS Go SDK documentation but been unable to ascertain how to do so.

On the web API side too, it seems they lack any direct API for doing so. Is there any workaround to determine whether the auto-scaling is enabled or not?

Please read this link

By default, the ECS is only keep the desired count containers work for highly available.

If you want auto scaling, it is an additional and optional service refer to the above link. That service has a role named AWSServiceRoleForApplicationAutoScaling_ECSService in the example. You can check that role

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