fixed autodetect suffix

This commit is contained in:
Gianluca Arbezzano 2017-08-08 22:20:00 +02:00
parent 487fcfa26f
commit bf44168ac2
No known key found for this signature in database
GPG Key ID: 9505D2809E1D6180
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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