Commit Graph

13 Commits

Author SHA1 Message Date
Rain
4d8e0ba1b4 fix/autoscaling: fix some problem
1. ScalingGroupGuestManger.Query 默认添加 NotEqual(...)
2. ScalingGroup.Scale 扩大锁的粒度,更新冷却时间也挪到这里面
3. climc 中增加 scaling-group-show
2020-04-26 20:59:44 +08:00
Rain
32280e2145 fix/autoscaling: Add status 'pending_remove' for ScalingGroup_Guest
The status 'pending_remove' means that the guest described by
ScalingGroup_Guest has been pendingdeleted or deleted.
2020-04-24 19:33:46 +08:00
Rain
4f27908fff fix(region): Fix problems for Auto Scaling
1. ScalingPolicyManager and ScalingActivityManager override ResourceScope.
2. Change 'tenant' as 'project_id' before requesting to forcast.
2020-04-22 16:30:46 +08:00
Rain
7d52e5de80 fix(region): Fix problems for Auto Scaling
1. 支持 scaling group 根据 enable 过滤
2. 周期策略返回开始时间
3. scaling controller 在创建机器之前先调用 scheduler 的 forcast 接口
4. 修复健康状态检查的一个问题
2020-04-20 19:31:43 +08:00
Rain
fbfff507dd fix(region): Fix problems of AutoScaling
1. Add List dispaly Params 'brand' and List filter Params 'brand' for
GuestTemplate and ScalingGroup.
2. ScalingActivity's list elem should be sorted in order by StartTime and EndTime
3. HealthCheckCycle and HealthCheckGov in ScalingGroup work now
4. Detach all ScalingGroup when pending delete Guest
5. If the scaling behavior of the scaling group fails n(n is 3 for now) times consecutively,
the controller will automatically disablet this group
6. Timer will trigger ScalingPolicy throught request but func call
2020-04-14 20:50:07 +08:00
Rain
e0cc7bf04f fix(region): Check and update ScalingActivities when controller init 2020-04-08 22:11:34 +08:00
Rain
09797e3abe fix(region): Fix problems about Auto Scaling
1. Alarm 的创建统一使用 AdminSession
2. ScalingTimer 的更新有些问题
3. 创建的主机名称不应该包含大写字母
4. ScalingTimer 的描述有些问题
5. 绑定LB的时候少传递了一个参数
2020-04-08 21:47:56 +08:00
Rain
d1c92c689a fix: fmt's format string 2020-04-04 21:10:57 +08:00
Rain
7eb38704d1 feature: Add instance health check 2020-04-04 21:10:57 +08:00
Rain
690fb0c95d Add copyright and format code 2020-04-04 21:10:57 +08:00
Rain
f0a8d60dbd feature: autoscaling controller finished 2020-04-04 21:03:28 +08:00
Rain
e8eadc24ce feature: Controller and some api 2020-04-02 20:42:47 +08:00
Rain
a776f21762 feat(scaling): Auto scaling group 2020-04-02 14:57:37 +08:00