mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 20:14:41 +00:00
fixed autodetect suffix
This commit is contained in:
parent
487fcfa26f
commit
bf44168ac2
@ -111,7 +111,7 @@ Let's say that you started a service:
|
||||
docker service create --label orbiter=true --name web -p 80:80 nginx
|
||||
```
|
||||
When you start orbiter, it's going to auto-register an autoscaler called
|
||||
`autodetect_swarm/web`. By default up and down are set to 1 but you can override
|
||||
`autoswarm/web`. By default up and down are set to 1 but you can override
|
||||
them with the label `orbiter.up=3` and `orbiter.down=2`.
|
||||
|
||||
This calability allow you to istantiate orbiter in an extremely easy way in
|
||||
|
||||
@ -9,6 +9,6 @@ ps:
|
||||
docker service ls
|
||||
docker stack ps stack
|
||||
scale-up:
|
||||
curl -X POST -v http://$(IP):8081/handle/autodetect_swarm/stack_micro/up
|
||||
curl -X POST -v http://$(IP):8081/handle/autoswarm/stack_micro/up
|
||||
scale-down:
|
||||
curl -X POST -v http://$(IP):8081/handle/autodetect_swarm/stack_micro/down
|
||||
curl -X POST -v http://$(IP):8081/handle/autoswarm/stack_micro/down
|
||||
|
||||
Loading…
Reference in New Issue
Block a user