From 3d7b7e176141cf61d4cb952c2190d3ae7373ac7d Mon Sep 17 00:00:00 2001 From: sirkrypt0 <22522058+sirkrypt0@users.noreply.github.com> Date: Tue, 1 Jun 2021 14:47:56 +0200 Subject: [PATCH] Set default minimum count in scaling policy to 0 Previously the minimum was not set, thus defaulting to the value of count. This did not allow creating execution environments with a prewarmingPoolSize of 0 as the task group count must not be less than the minimum coun in the scaling policy. --- environment/default-job.hcl | 1 + 1 file changed, 1 insertion(+) diff --git a/environment/default-job.hcl b/environment/default-job.hcl index 454760a..1cd6390 100644 --- a/environment/default-job.hcl +++ b/environment/default-job.hcl @@ -13,6 +13,7 @@ job "default-poseidon-job" { count = 1 scaling { enabled = true + min = 0 max = 300 } spread {