Releases: ThomasObenaus/sokar
Releases · ThomasObenaus/sokar
v0.1.0 (2020-06-06) - Stabilization
Docker: docker pull thobe/sokar:v0.1.0
- BugFixes:
- With #52 the log-level is now configurable (debug, info, warn, error, fatal or off).
- Docu: With #56 API spec was added.
- Docu: With #69 sokars scaler modes were documented at doc/ScalerModes.md.
- With #105 sokars dependencies are now managed using go modules instead of go dep.
- With #116 sokars implementation for configuration, logging, build-information, health and shutdown where replaced by the usage of go-base.
- With #117 an integration test was added running sokar against a real nomad job running on a nomad (in docker) cluster. Here basic functionality of sokar is tested (scale up and down based on scale alerts).
- With #118 sokars is now build and its code is analyzed with sonar-cloud instead of using coveralls, codacity and circle-ci.
- With #119 golangci-lint is used for an additional static code analysis. GolangCI-Lint is a collection of multiple linters for golang with good default settings.
- With #125 for all unit-tests race detection is now activated.
- With #132 support for the newest nomad version (0.11.2) was added.
v0.0.12 (2019-12-31)
Docker: docker pull thobe/sokar:v0.0.12
Capacity Planning: With #110 the new feature Scheduled Scaling was added to sokar. For more details read ScheduledScaling.md.
v0.0.11 (2019-11-03)
Docker: docker pull thobe/sokar:v0.0.11
- BugFixes:
- Config: With #108 the new configuration parameter
instance-termination-timeout
was introduced.
v0.0.10 (2019-10-13)
Docker: docker pull thobe/sokar:v0.0.10
- Config: With #103 the deprecated parameter
sca.nomad.mode
was removed. That parameter was replaced bysca.mode
in a previous release. - Build: With #99 sokar is build based on golang 1.13.1 and the docker image is based on alpine 3.10.
- With #98 sokar won't modify any scaleObject automatically any more. Now the ScaleObjectWatcher is disabled in dry-run mode. For more information about dry-run mode see DryRunMode.md.
- Refactor: With #95 the code was refactored to use the functional option approach instead of config structs.
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
).