Commit Graph

1803 Commits

Author SHA1 Message Date
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
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
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
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
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
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
9201da6348 Added events for Paraguay/Jan-2019
Signed-off-by: Patricio Diaz <padiazg@gmail.com>
2019-01-25 09:24:39 +00:00
d2564e7f0e Update the use of basic-auth secret
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 21:36:56 +00:00
52c12f5769 Fix Alertmanager command line arguments
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 20:25:08 +00:00
daf102c8af Bump ARM64 images for Swarm #1036
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 20:08:15 +00:00
e683feabe0 Update the ARM64 docker compose file
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-24 20:08:15 +00:00
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
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
53645bb719 Update Makefile / readme for contrib
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 15:40:09 +00:00
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
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
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
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
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
5a1bdcdb91 Add instrumentation to the alert handler
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
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
64a3f4e495 Instrument system calls
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-24 09:12:46 +00:00
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
5157e68479 Updated armhf images
Signed-off-by: Rishabh Gupta<r.g.gupta@outlook.com>
2019-01-21 18:56:54 +00:00
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
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
24e6e733bb Print versions after building arm images
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-20 18:11:25 +00:00
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
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
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
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
325d1d4132 Refactor .PHONY
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
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
41b452849c Add a consistent ARM64 image build process
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
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
526d35e934 Redirect troubleshooting page to docs
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-12 20:50:22 +00:00
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
0cf01b51ff adds docker nl event and paris cncf
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-01-10 21:33:23 +00:00
2708439d02 Add enterprisetimes.co.uk article
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 15:18:44 +00:00
3d6d8ef05e Add blog post on OpenFaaS & KinD
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 15:16:16 +00:00
bc4079f722 Update alpinefunction to latest watchdog
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 14:51:42 +00:00
3aa76a9e93 Add blog post from John to 2019
- closes: #1009

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-01-09 22:06:41 +00:00
88c46dbe41 Update video list
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-07 18:02:08 +00:00
b316e02dc8 Add article from IT Business Edge
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-05 22:11:59 +00:00
a65df4795b Update swagger for missing secret definitions
- added secret definition and removed types used previously

Remove structs for secrets

- after discussion on PR the core contributors decided we just
want simple CRUD with the Secret type.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-04 16:51:01 +00:00
b206cb829a Updated secret types based on PR feedback:
- SecretInfo type
- ListSecretsResponse
- Move Annotations to SecretInfo
- update swagger api docs

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
b49dded3b3 Updates from PR comments:
- moved Vagrantfile to contrib dir
- gave secret request type more thought

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
a9238f5631 Secrets iteration:
- added delete http verb to system/secrets
- added secrets request type
- added vagrant env provisioned by existing deploy_stack.sh

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
d2ef8b9207 Initial support for secrets in gw:
- added SecretHandler type
- added discussed system/secret endpoint with appropriate http verbs

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
1261aadebe Fix fwatchdog timer memory leak issue
Use timer.AfterFunc to make sure goroutine could be gc.

Signed-off-by: Mike Chiu <mike.chiu@pentium.network>
2019-01-02 22:46:03 +00:00