From 33c3b17a094aaf4af59adec2dd098c70a3651a88 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Mon, 29 Oct 2018 07:21:25 -0400 Subject: [PATCH] Fixed syntax in README. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5951902..95b43ec 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ This project is intended to bring auto service staling to Docker Swarm. This scr Currently the project only uses cpu to autoscale. If cpu usage reaches 85% the service will scale up, if it reaches 25% it will scale down. ## Usage -1. You can deploy prometheus, cadvisor, and docker-swarm-autoscale by running `docker stack deploy -c swarm-autoscale-stack.yml`. -..* You can also utilize an already deploy prometheus and cadvisor by specifying the PROMETHEUS_URL in docker-swarm-autoscale environment. `swarm-autoscale-stack.yml` shows an example of this. -..* docker-swarm-autoscale needs a placement contstraint to deploy to a manager. swarm-autoscale-stack.yml` shows an example of this. +1. You can deploy prometheus, cadvisor, and docker-swarm-autoscale by running `docker stack deploy -c swarm-autoscale-stack.yml`. + * You can also utilize an already deploy prometheus and cadvisor by specifying the `PROMETHEUS_URL` in docker-swarm-autoscale environment. `swarm-autoscale-stack.yml` shows an example of this. + * docker-swarm-autoscale needs a placement contstraint to deploy to a manager. `swarm-autoscale-stack.yml` shows an example of this. 2. For services you want to autoscale you will need a deploy label `cpu.autoscale=true`. ```