简体   繁体   中英

Permanent instances with Autoscaling and load balancers

Is there any options in Google cloud autoscaler for marking some number of instances as permanent which shouldn't be destroyed by autoscaler?

In my use case, I need to run some instances all the time (which also serve the critical data) and only scale up/down when traffic load increases/decreases.

Your request has got some discrepancy as you are speaking about instance group that contains some instances that will serve different data than the other,this means that the instance are not identical each other therefore you can't use the autoscaler. I'm saying this because there are two type of instance group, one is "Unmanaged instance groups" and the other "managed instance groups". The unmanaged instance group would suite for you as it gives the option to use different instances but there is not autascaler. Instead the managed instance groups is based on a group that uses an instance template to create a group of identical instances.

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