The newer faas-swarm version moves to the latest alpine
runtime image and Go 1.13 for builds instead of Go 1.11
Tested on Docker for Mac with deploying openfaas along with a
sample function
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Updates armhf, arm64 and x86_64 - queue-worker moves to multi-
arch image. gateway and basic-auth are updated, along with NATS
which has been done in faas-netes for some time now.
Closes: #1539 (partial PR)
Fixes#1537
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
**What**
- Bump faas-swarm vesion to latest, 0.8.2
- Bump arm64 and armhf sevices to their latest versions
- The docker-compose files were invalid when deployed directly because
the auth url was not configured. Set the default for basic auth to
false to make this a valid configuration
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This commit updates prometheus and alertmanager version to use
multi-arch images. Prometheus is updated to v2.11.0 and alertmanager is
updated to v0.18.0
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
The two docker compose files for ARM based systems were not configured to pass the auth_proxy variables through to the gateway at deploy time. This was causing an error in the gateway which would manifest in the CLI and UI as: `ExternalAuthHandler: Get : unsupported protocol scheme ""`.
This change adds `auth_proxy_url` & `auth_proxy_pass_body` to the two ARM compose files so as to mirror the config of the x86_64 compose file.
Signed-off-by: Richard Gee <richard@technologee.co.uk>
This change means the gateway is used to invoke functions
asynchronously rather than directly so that the scale from zero
path can execute.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit adds changes to run metrics server in a separate method and
also removed port 8082 from exposed port a/c to review comments.
It also uses a smaller static timeout value for new server.
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit runs a new HTTPServer on port 8082 in a goroutine to serve
/metrics endpoint on a different port.
This also update the configurations and compose files.
Fixes: #1081
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
**What**
- Revert to the original docker tags because we want to for the bump
until after the official release
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
**What**
- Protect the `/system/alert` endpoint when basic auth is enabled
- Update the alert manager config to send the basic auth credentials
- Bump the gateway version
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This commit bumps the non-arm gateway from 0.7.0 to 0.7.1 and the arm
variants from 0.6.9 to 0.7.0.
It also updates all watchdog versions to the 0.7.1 release.
Signed-off-by: John McCabe <john@johnmccabe.net>