mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
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) <alexellis2@gmail.com>
This commit is contained in:
parent
a3392634a7
commit
cda1fe78b1
@ -258,6 +258,7 @@ func makeServiceDefinitions(archSuffix string) []pkg.Service {
|
|||||||
"auth_proxy_url=http://basic-auth-plugin:8080/validate",
|
"auth_proxy_url=http://basic-auth-plugin:8080/validate",
|
||||||
"auth_proxy_pass_body=false",
|
"auth_proxy_pass_body=false",
|
||||||
"secret_mount_path=" + secretMountDir,
|
"secret_mount_path=" + secretMountDir,
|
||||||
|
"scale_from_zero=true",
|
||||||
},
|
},
|
||||||
Image: "docker.io/openfaas/gateway:0.18.8" + archSuffix,
|
Image: "docker.io/openfaas/gateway:0.18.8" + archSuffix,
|
||||||
Mounts: []pkg.Mount{
|
Mounts: []pkg.Mount{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user