From cda1fe78b1661ec0ef0dac259c7c07351a6f2ef8 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Mon, 20 Jan 2020 08:44:42 +0000 Subject: [PATCH] Enable scale from zero This must be used with HEAD of faasd after the following PR is merged: https://github.com/alexellis/faas-containerd/pull/29 Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- cmd/up.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/up.go b/cmd/up.go index fd250b4..401c386 100644 --- a/cmd/up.go +++ b/cmd/up.go @@ -258,6 +258,7 @@ func makeServiceDefinitions(archSuffix string) []pkg.Service { "auth_proxy_url=http://basic-auth-plugin:8080/validate", "auth_proxy_pass_body=false", "secret_mount_path=" + secretMountDir, + "scale_from_zero=true", }, Image: "docker.io/openfaas/gateway:0.18.8" + archSuffix, Mounts: []pkg.Mount{