v0.0.9 (2019-09-24)
Docker Image: docker pull thobe/sokar:v0.0.9
- With #90 sokar gets a real downscaling for nomad workers running on AWS.
- This means:
- The nomad worker with least running allocations, CPU and memory will be selected as candidate.
- This nomad worker will be drained.
- Then the according instance is terminated and the AWS ASG's desired capacity is reduced accordingly.
- This means:
- ScalingTarget: With #92 sokar can scale up/ down AWS EC2 instances that are managed by an AWS AutoScalingGroup. Therefore the ASG just have to be tagged with
scale-object=<some_name>
and sokar has to run in scaler modeaws-ec2
(--sca.mode=aws-ec2
). Then if sokar is introduced to scale the scale-objectsome_name
(--scale-object.name=some_name
) he would adjust the number of instances created by this ASG based on the scaling alerts he gets. - Config: With #92 the config parameter
--sca.nomad.mode
is deprecated and replaced by--sca.mode
. Furthermore the possible values for this parameter are now:nomad-job
instead ofjob
,nomad-dc
instead ofdc
andaws-ec2
. The old valuesjob
anddc
are deprecated. - Config: With #88 the interval sokar checks if someone externally (e.g. a deplyoment) has changed the scale of the scale-object is now configurable (
--sca.watcher-interval
).