You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which I runs with: docker stack deploy -c swarmtest.yml myswarm
I see from docker service ls that they all came up:
$ docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
fv0c3eea5g2n myswarm_orbiter replicated 1/1 gianarb/orbiter:latest *:8000->8000/tcp
ez3r46p6l297 myswarm_phpfpm replicated 1/1 php:7.3-fpm-alpine3.9
ne5fkzualf1x myswarm_web replicated 1/1 nginx:alpine *:80->80/tcp, *:443->443/tcp
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?:
$ curl -v -X GET http://127.0.0.1:8000/v1/orbiter/autoscaler
Note: Unnecessary use of -X or --request, GET is already inferred.
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8000 (#0)
> GET /v1/orbiter/autoscaler HTTP/1.1
> Host: 127.0.0.1:8000
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 29 Jul 2021 14:55:37 GMT
< Content-Length: 11
< Content-Type: text/plain; charset=utf-8
<
* Connection #0 to host 127.0.0.1 left intact
{"data":[]}
What are other things that I must do in order to make Orbiter autoscale?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: