I switched one project to the bluegreen deploy strategy. I want one web pod that stops when idle and one worker that always runs. After a few deploys I had 8 web pods and 5 worker pods.
Here is my config:
[build]
dockerfile = "Dockerfile"
[deploy]
strategy = "bluegreen"
[processes]
web = "node server/build/web.js"
worker = "node server/build/worker.js"
[http_service]
internal_port = 8080
force_https = true
auto_stop_pods = "stop"
auto_start_pods = true
min_pods_running = 0
processes = ["web"]
[[http_service.checks]]
grace_period = "15s"
interval = "15s"
timeout = "5s"
method = "GET"
path = "/health"
How do I stop this from happening?