From aec771ecc3a765a1a1bd35370b1aaec40ee300b6 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Mon, 29 Oct 2018 07:12:20 -0400 Subject: [PATCH] Fixed README syntax --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 44378a6..71ca661 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,9 @@ This project is intended to bring auto service staling to Docker Swarm. This scr 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 ``` +2. For services you want to autoscale you will need a deploy label `cpu.autoscale=true`. + +``` deploy: labels: - "cpu.autoscale=true"