Commit Graph

1385 Commits

Author SHA1 Message Date
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
cfac88b001 Add blog post about running bash functions as a service
Signed-off-by: Thomas Shaw <tshaw@riotgames.com>
2019-01-02 18:23:05 +00:00
b71ec77c5b Compress lines in community file
- moves blogs / events into same line

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-02 17:49:36 +00:00
9cda76de45 Add 2019 to ToC for community file
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-02 17:48:52 +00:00
22406446c0 Adding more blogs and a 2019 event found via Twitter
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-01-02 17:18:25 +00:00
1eb95b6047 Add tracing your functions blog post
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-01-01 19:40:23 +00:00
6d56606e7b Add Serverless Architecture Conf April 2019 talk
Signed-off-by: John McCabe <john@johnmccabe.net>
2018-12-30 20:49:20 +00:00
c9befd78e7 Bump gorilla mux to 1.6.2
**What**
- Update the gopkg.toml

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-12-29 19:34:21 +00:00
09736be293 When firing, newReplicas should be greater than currentReplicas
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
3bdb194e71 Round up value of newReplicas
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
191629151e Remove the differentiation between currentReplicas==1 and not
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
81db6514f7 Fix TestInitialScale expectation
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
058d1e481a Test scaled up from 1
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
ea40055c60 Enable basic auth for armhf stack
- basic auth is now optional for armhf - finishes work of #999

Happy Holidays

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-12-25 11:35:53 +00:00
a02e2d2aa2 Consolidate deploy_stack.sh files
Currently there are multiple deploy_stack.sh files and the user has to select the version appropriate to the target architecture so that the correct images are deployed.  Further, the armhf deploy script lacks the basic auth by default scripting that is in the x86_64 version.

This change adds a case/select to deploy_stack.sh that will determine the hardware architecture and select the appropriate docker-compose file.

The deploy_stack.armhf.sh is also changed, rather than deleted, so that existing references are still valid.

Signed-off-by: Richard Gee <richard@technologee.co.uk>
2018-12-25 11:25:18 +00:00
334288b130 Undo early return in updateData callback
**What**
- Revert to original if-block structure to reduce the size of the diff

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-12-19 21:10:41 +00:00
cb367096ae Refresh function image during ui update loop
**What**
- Update the function image value during the `refreshData`

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-12-19 21:10:41 +00:00
0ae105164f add link to blog describing how to write serverless crystal functions
Signed-off-by: TPei <t.s.peikert@gmail.com>
2018-12-11 07:44:59 -08:00
fe424b974f Move perf page to docs
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-12-06 14:20:53 +00:00