Commit Graph

1677 Commits

Author SHA1 Message Date
04d240aac2 Add blog post by Richard
Adding blog post by Richard Gee in the official
openfaas site with title RIde the SErverless Wave with
DigitalOcean's One-click Droplet

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2019-02-05 22:31:41 +00:00
acaefdb839 Bump Prometheus to 2.7.0
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-02-05 20:16:25 +00:00
cf67fdba71 Bump to 0.11.0 gateway
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-02-04 12:09:41 +00:00
299e5a5933 Read config values from environment for max_conns tuning
- max_conns / idle / per host are now read from env-vars and have
defaults set to 1024 for both values
- logging / metrics are collected in the client transaction
rather than via defer (this may impact throughput)
- function cache moved to use RWMutex to try to improve latency
around locking when updating cache
- logging message added to show latency in running GetReplicas
because this was observed to increase in a linear fashion under
high concurrency
- changes tested against 3-node bare-metal 1.13 K8s cluster
with kubeadm

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-02-04 11:50:25 +00:00
52c27e227a Tune HTTP client for concurrency
- due to what appears to be a frequent issue with the Go HTTP
client some tweaks were needed to the HTTP client used for
reverse proxying to prevent CoreDNS from rejecting connections.

The following PRs / commits implement similar changes in
Prometheus and Minio.

https://github.com/prometheus/prometheus/pull/3592
https://github.com/minio/minio/pull/5860

Under a 3-node (1-master) kubeadm cluster running on bare
metal with Ubuntu 18.04 I was able to send 100k requests
with 1000 being concurrent with no errors being returned
by hey.

```
hey -n 100000 -c 1000 -m=POST -d="hi" \
  http://192.168.0.26:31112/function/go-echo
```

The go-echo function is based upon the golang-http
template in the function store using the of-watchdog.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-02-04 11:50:25 +00:00
2269d0dec6 Update and trim-back ROADMAP.md
- This change points the roadmap back to the documentation and
GitHub issue trackers
- Draws distinction between OF and OFC.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-02-04 09:50:16 +00:00
f2e062b493 Update broken link
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-02-03 20:29:52 +00:00
1f98adc3d1 Update support link to www site
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-02-03 20:28:10 +00:00
dee6560439 Add Prometheus 2.7.0 for ARMHF/ARM64
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-02-02 16:11:43 +00:00
84c11c11b6 A new blog post about serverless evaluation
Add a new blog post named "Evaluation of Serverless Technologies at Jet".

Signed-off-by: Khalid Hasanov <xalid.h@gmail.com>
2019-02-02 16:03:13 +00:00
fa5a13546e Adds UCL event
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-01-31 19:19:48 +00:00
b60749547e Add Unifying Secrets blog post
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-01-31 17:37:57 +00:00
d7ea41a738 Add link to of blog on multi-file py functions
**What**
- Add link to 2019 blog post table

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-01-31 17:36:16 +00:00
eba97b6c4a Add serverless beyond the hype to community.md
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2019-01-30 13:25:43 +00:00
c2877d0904 Update all Docker Compose files to latest images
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 11:58:15 +00:00
59c88bc7e5 Reconcile Docker Compose files for each architecture
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 11:58:15 +00:00
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
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
0883d1db0a Update the ARM Makefiles for Alertmanager
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 10:55:19 +00:00
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
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
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
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
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
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