Swarmkit: Proposal: Horizontal service Autoscaling

Created on 22 Aug 2017  路  2Comments  路  Source: docker/swarmkit

I have been working with docker SWARM lately and noticed there is a lack of features Horizontal service Autoscaling.

Currently we have shell script that scale UP/DOWN containers as new servers get added/removed to cluster but it would be amazing feature if swarm manager can automatically scale up/down containers to match average CPU utilization specified by user.

Swarm manager should periodically adjusts the number of replica in a service to match average CPU utilization to the target specified by user.

areorchestration kinproposal

Most helpful comment

We had this requirement in our deployment. We've built a service which can poll for metrics and scale the services accordingly. Our code is open sourced here -> https://github.com/sahajsoft/docker-swarm-service-autoscaler

All 2 comments

While I agree that this should be built into Swarm, there's an open source solution here:
https://github.com/gianarb/orbiter

Maybe Moby/Docker can endorse the project and bake it into Docker itself?

We had this requirement in our deployment. We've built a service which can poll for metrics and scale the services accordingly. Our code is open sourced here -> https://github.com/sahajsoft/docker-swarm-service-autoscaler

Was this page helpful?
0 / 5 - 0 ratings