1412 Commits

Author SHA1 Message Date
Radoslav Dimitrov
59c88bc7e5 Reconcile Docker Compose files for each architecture
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 11:58:15 +00:00
Radoslav Dimitrov
8a8735ee59 Makefiles updated for Alertmanager and Prometheus for ARMHF/ARM64
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 11:57:16 +00:00
Radoslav Dimitrov
766e5e4d2c Add ARM builds of Prometheus for 2.6.1
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 10:55:19 +00:00
Radoslav Dimitrov
0883d1db0a Update the ARM Makefiles for Alertmanager
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 10:55:19 +00:00
Radoslav Dimitrov
c5122279c9 Fix unit test fail due to race condition #1063
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 10:28:13 +00:00
Radoslav Dimitrov
aa96bfe66c Fix publish-arm.sh using wrong image name for report
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 10:27:30 +00:00
Alex Ellis (VMware)
b4a550327d Re-vendor queue-worker publisher for reconnect
- re-vendor queue-worker for publisher via 0.6.0
- bump queue-worker version to 0.6.0 in docker-compose.yml for
AMD64
- use new naming for NATS of nats -> NATS in variables where
required
- add default reconnect of 60 times, 2 seconds apart.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-29 15:15:48 +00:00
Alex Ellis (VMware)
e63150ef70 Add max_idle_conns_* to gateway compose file
- adds max_idle_conns_* default values to  docker-compose.yml to
make it easier to override as a user doing testing/tuning
- make Golang durations easier to read 300s -> 5m

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-29 15:15:48 +00:00
Lucas Roesler
ee7cbaa360 Bump gateway version to 0.10.2 in compose
**What**
- Bumps the gateway version to 0.10.2 in the default docker-compose file

**Why**
- Finishes the work started in #1049 to enable basic auth for the alert
endpoint, this will allow the deployment via compose to leverage the
basic auth

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-01-29 10:13:28 +00:00
Andrew Cornies
9ba1636719 Updated terminology:
Made description changes to be more succinct

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-28 14:52:00 +00:00
Andrew Cornies
d59f4d87cf Updating the Swagger to be more accurate:
- Fixed annotations and labels type and added examples
- Added the readOnlyRootFilesystem bool

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-28 14:52:00 +00:00
Alex Ellis (VMware)
6ee07a7ba9 Update gateway URL to default for helloc example
- this caused confusion for a user who had logged in for
"127.0.0.1", but not for "localhost" then saw an error when
deploying and trying to access "localhost" for which there
was no credential available.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-27 21:29:03 +00:00
Chad Taylor
a2e843775b Add blog post introducing openfaas-clojure-template
Signed-off-by: Chad Taylor <taylor.thomas.c@gmail.com>
2019-01-25 19:41:57 +00:00
Nicholas Chen
6bd172e071 Add a new book which covers OpenFaaS
OpenFaaS is covered in the newly publish Serverless book Serverless Inside Out.

Committed by @nichochen

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2019-01-25 11:50:45 +00:00
Alex Ellis (VMware)
a9863f5cbe Updates list of backers
This shows the list of backers >= 5 USD from Patreon.com who
contribute and receive a reward-level, a mention in BACKERS.md
and help with the various running-costs of the independent
project.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-01-25 11:29:58 +00:00
Patricio Diaz
9201da6348 Added events for Paraguay/Jan-2019
Signed-off-by: Patricio Diaz <padiazg@gmail.com>
2019-01-25 09:24:39 +00:00
Radoslav Dimitrov
d2564e7f0e Update the use of basic-auth secret
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 21:36:56 +00:00
Radoslav Dimitrov
52c12f5769 Fix Alertmanager command line arguments
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 20:25:08 +00:00
Radoslav Dimitrov
daf102c8af Bump ARM64 images for Swarm #1036
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 20:08:15 +00:00
Radoslav Dimitrov
e683feabe0 Update the ARM64 docker compose file
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 20:08:15 +00:00
Lucas Roesler
bfa869ec8c Revert docker tag bump to 0.10.0
**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>
2019-01-24 17:45:33 +00:00
Lucas Roesler
f61735b155 Add basic auth to the system alert endpoint
**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>
2019-01-24 17:45:33 +00:00
Alex Ellis (VMware)
53645bb719 Update Makefile / readme for contrib
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 15:40:09 +00:00
Alex Ellis (VMware)
ec185bad67 Fix label order for http_requests_total
- the order of http_requests_total was shown to be incorrect in
testing. This fixes the order as per
http_request_duration_seconds.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:46:14 +00:00
Alex Ellis (VMware)
a26d350376 Allow unicode in service paths
- according to discussion in #1013 all unicode characters are
valid label values - this commit allows the original path to be
retained.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Alex Ellis (VMware)
67c9a71686 Add unit tests for MakeNotifierWrapper
- fixes issue where result was assigned to value rather than
to pointer reference.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Alex Ellis (VMware)
f7cf7a6496 Split out notifiers
- splits out notifiers and writes status for async handler

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Alex Ellis (VMware)
fca32a0e79 Instrument async handlers
- instruments async handler for report and for queueing async
requests
- make MustRegister only ever run once to prevent sync issues

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Alex Ellis (VMware)
5a1bdcdb91 Add instrumentation to the alert handler
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Alex Ellis (VMware)
e9cf708cb5 Bump Prometheus client version
- updates the Prometheus go client version and switches to the
promhttp handler to avoid conflicts with the new system-level
metrics.

Tested with Docker Swarm locally - no conflicts and new metrics
were gathered.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Alex Ellis (VMware)
64a3f4e495 Instrument system calls
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Alex Ellis (VMware)
1cc767e898 Add service RED metrics definitions
Partially fixes #532 by introducing two metrics that are
supported by Kubernetes HPAv2 and RED metrics-style
dashboards.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
Rishabh Gupta
5157e68479 Updated armhf images
Signed-off-by: Rishabh Gupta<r.g.gupta@outlook.com>
2019-01-21 18:56:54 +00:00
Bart Smykla
5ca63f0cfe Fixed sorting in 2019 events + added my talks
Signed-off-by: Bart Smykla <bsmykla@vmware.com>
2019-01-21 18:38:13 +00:00
Martin Dekov (VMware)
8bd4eab9d3 Add OpenFaaS meetup in Lille France
Adding OpenFaaS meetup in Lille France with speaker
Laurent Grangeau

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2019-01-21 15:46:27 +00:00
Alex Ellis (VMware)
24e6e733bb Print versions after building arm images
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-20 18:11:25 +00:00
Richard Gee
0f5ca96bbe Add build-args to Dockerfile.armhf
When the /system/info endpoint was expanded to include information about the gateway a number of build-args were added to the main Dockerfile.  These changes were not mirrored in Dockerfile.armhf, which resulted in nil attributes and an ugly error when running `faas version` against an armhf gateway.

This change carries the changes made to Dockerfile through to Dockerfile.armhf.  As well as the build-args which fix the identified issue the license check has also been added at the latest release 0.2.3, as a armhf build has been made available.  Further changes are to introduce the app user and moving the binary location from /root/ to /home/app/

Signed-off-by: Richard Gee <richard@technologee.co.uk>
2019-01-20 10:00:02 +00:00
Martin Dekov (VMware)
d17a42ce15 Add article from ineat-conseil
Adding blog post about Serverless on Raspberry PI with
Docker Swarm and OpenFaaS by Mathias Deremer in the
Blog posts and write-ups 2019

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2019-01-19 11:03:31 +00:00
Burton Rheutan
988c855163 Gateway UI - validate manual input
This change validates manual input to the gateway UI when deploying
new functions. This is to prevent poor user experience when attempting
to deploy a function manually from the UI.

The validation check on the function name is the same pattern that
is used in the CLI to ensure that when the deploy button is pressed,
the function will not fail validation.

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-01-19 11:00:59 +00:00
Daniel Llewellyn
414c1e76fe Add diddledan's medium post to community.md
Signed-off-by: Daniel Llewellyn <daniel@bowlhat.net>
2019-01-17 19:33:34 +00:00
Radoslav Dimitrov
325d1d4132 Refactor .PHONY
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
Radoslav Dimitrov
28c385f546 Rename publish-armhf.sh to publish-arm.sh
The publish script is now common for both ARMHF and ARM64

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
Radoslav Dimitrov
41b452849c Add a consistent ARM64 image build process
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
Ron Rivera
33800a20d8 Update watchdog to 0.9.14 for sample functions
We need to update the watchdog version for sample functions to 0.9.14
including all references in markdown files.

Signed-off-by: Ron Rivera <roncrivera@gmail.com>
2019-01-13 08:40:07 +00:00
Alex Ellis (VMware)
526d35e934 Redirect troubleshooting page to docs
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-12 20:50:22 +00:00
Bart Smykla
954b68308e Bumped version of faas-swarm to 0.6.1
I changed the version of image to current one,
which implements secret management endpoint
from 0.5.0 to 0.6.1 in docker-compose.yml (x86_64)

Version of openfaas/gateway was also increased to 0.9.14

Signed-off-by: Bart Smykla <bsmykla@vmware.com>
2019-01-11 11:44:01 +00:00
Edward Wilde
0cf01b51ff adds docker nl event and paris cncf
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-01-10 21:33:23 +00:00
Alex Ellis (VMware)
2708439d02 Add enterprisetimes.co.uk article
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 15:18:44 +00:00
Alex Ellis (VMware)
3d6d8ef05e Add blog post on OpenFaaS & KinD
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 15:16:16 +00:00
Alex Ellis (VMware)
bc4079f722 Update alpinefunction to latest watchdog
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 14:51:42 +00:00