Skip to content

Releases: AMEST/swarm-autoscaler

Decrease Mode and customize rules

27 May 05:15
4b64671
Compare
Choose a tag to compare

What's Changed

  • Decrease Mode and customize rules by @AMEST in #2

Full Changelog: v0.2.3...v0.3.0

Fix when no running tasks in service

25 Jan 17:16
Compare
Choose a tag to compare

Fix getting container id's only for running containers

17 Jan 09:21
Compare
Choose a tag to compare

Fix getting leader status

15 Jan 03:41
4ffd14c
Compare
Choose a tag to compare

Fix getting leader status when managers count more then 1

Optimizations and Improvements

09 Jan 17:06
04d1779
Compare
Choose a tag to compare

What's Changed

Optimizations

  • Move autoscaler code to own class extends threading.Thread
  • Added thread pool for run calculating service cpu utilization in own thread.
  • Added thread pool for discovery
  • Added caching for: resolve cluster ip and node count inside calculate method
  • Added disable manual replicas mode for service

Fixes

  • Settings names in ReadMe
  • Logging levels for third party libs
  • Own loggers inside classes

Full Changelog: v0.1.0...v0.2.0

Minimum working version of the application

08 Jan 08:29
Compare
Choose a tag to compare

Minimum working version of the Swarm Services Autoscaler application

Implemented:

  • Automatically increase and decrease the number of service instances based on the average cpu of service instances
  • Limits for the minimum and maximum number of service instances
  • Independent calculation of cpu utilization by all instances of the service (without being tied to external data sources (cadvisor / telegraf + prometneus)
  • Configurable cpu utilization limit at which there is a decrease in the number of replicas or their increase
  • Configurable check interval
  • Small documentation in README.md
  • Example docker-compose file for application deployment