Open jchariot opened 3 years ago
I have only just stumbled accross this project but I think the idea might be that orbitor provides a convenient web api to allow you to trigger the scale up or scale back down operation, it doesnt automatically decide to do the scaling on it's own. It mentions custom labels (in the Readme) that you must add against each service so that it can tell how many instances should be scaled up or down to, when you trigger the scale up or scale down operation by calling its api. If my assumptions are correct, you would need some other way to monitor performance of your services and then call the orbiter api with "up" or "down" to trigger the actual scale operation based on your own decision point / evaluation of your metrics.
This is my first time using Orbiter. Currently, I got this swarmtest.yml :
which I runs with:
docker stack deploy -c swarmtest.yml myswarm
I see from
docker service ls
that they all came up:However, when I do a load test using wrk . I see the CPU of the server goes up but the apps never scale up and they always stay at 1 replica no matter what.
Additionally, does this look right?:
What are other things that I must do in order to make Orbiter autoscale?