- Jul 20, 2018
-
-
Edward Wilde authored
1. Add new annotation attributes which may be used by the back-end for making scheduling or routing decisions. 2. Updated tests/README.md to give clearer instructions on creating and tearing down the stack required to run the integration tests 3. Update ci.sh * Fail as soon as an error is encountered * Allow script to run locally in development environment, test if repos are already cloned etc.. * Deploy ./stack.yml used by existing integration tests Signed-off-by:
Edward Wilde <ewilde@gmail.com>
-
Alex Ellis (VMware) authored
Existing code has been used for scaling up and querying replicas. This meant the new code was deleted and there is less duplication now. The cache store a whole query response rather than just the available replica count and the tests were updated. This has been tested with Docker swarm and the image: openfaas/gateway:scale-17-07-2018 This feature now needs the env-var of scale_from_zero to be enabled in order to turn on the scaling behaviour. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
This disables the scaling proxy by default since it is not the default user-experience and is still under refinement. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Added scale_from_zero to config, docs and wrote unit test for the value. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
This change allows functions to be "idled" or scaled to zero replicas and then be invoked later on. There is a penalty to scaling up - the API gateway proxy will block until the function is ready. A cache is included to off-set the calls to upstream API to check on readiness along with unit tests. Testing via scaling to zero replicas and then invoking function. On Swarm I observed 3 seconds on an Intel Nuc i5 for scaling back from zero replicas. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Jul 16, 2018
-
-
Alex Ellis (VMware) authored
This was a miss by refactoring work and is causing a CI failure https://travis-ci.org/openfaas/faas/builds/404409816 Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
This should make CI tests pass without having to parse and run in the login command via the faas-cli. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Secrets for gateway needed to be bound to stack, but were commented-out. Tested on Swarm. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
- basic_auth is now set to true by default unless overriden in the env-var "BASIC_AUTH" Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
The deployment script will enable basic-auth by default to help avoid people deploying to a public IP with no protection from malicious actors. - In deploy_stash.sh /dev/random can hang on some systems, so using urandom will give a better experience, if less "random" data. For the purposes of creating an initial basic auth password this is sufficient. - Alpine Linux does not have the shasum command, but sha256sum. - Tested on MacOS with and without --no-auth flag. - Does not apply for armhf or powershell. BASIC_AUTH env-var added by Vivek Syngh @viveksyngh Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Adds flag to denote root-filesystem should be made read-only. Needed for downstream work and re-vendoring in faas-swarm/faas- netes and openfaas-operator. Closes #723 Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Vivek Singh authored
Updated gateway to accept 202 as valid response code for /system/scale-function/<function> along with 200. Fixes: #faas-netes/245 Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
Ken Fukuyama authored
This change adds a function URL field to the UI and a 'copy to clipboard' button next to it. If the browser does not support the copy command, the copy icon will be hidden. Signed-off-by:
Ken Fukuyama <kenfdev@gmail.com>
-
- Jul 13, 2018
-
-
Ivana Yovcheva (VMware) authored
After editing queue-worker to push do openfaas/ ns instead of functions/ this chage is required to match the image name. Set to latest version 0.4.8 Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
Ivana Yovcheva (VMware) authored
Change `iyovcheva` to `ivanayov` after username has been changed Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
- Jul 10, 2018
-
-
Alex Ellis (VMware) authored
Suggested by community member in an un-merged PR. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Ivana Yovcheva (VMware) authored
This moves watchdog to a better name for images and also gives free image-scanning and gives more confidence to users that components ship regularly and makes any vulnerabilities in components clear Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
Alex Ellis (VMware) authored
Suggsted in #756 Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Burton Rheutan authored
Signed-off-by:
Burton Rheutan <rheutan7@gmail.com>
-
- Jul 09, 2018
-
-
Edward Wilde authored
Signed-off-by:
Edward Wilde <ewilde@gmail.com>
-
Edward Wilde authored
Signed-off-by:
Edward Wilde <ewilde@gmail.com>
-
Alex Ellis (VMware) authored
Thanks to @rgee0 for proofing. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Allows: OpenFaaS Author(s) Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Afterburn is deprecated in favour of of-watchdog. Removing link to prevent confusion. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
- Core contributors are added by name. - Copyright notice now encourages OpenFaaS Author(s) in place of OpenFaaS Project to reflect the nature od distributed copyright. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
From Project to Author(s) for the catch-all. This file has my copyright which is retained through the catch-all statement. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Lucas Alexander authored
Add four blog posts on deployment and usage scenarios Signed-off-by:
Lucas Alexander <lucas@alexanderdevelopment.net>
-
- Jul 06, 2018
-
-
Ivana Yovcheva (VMware) authored
With this change gateway will be pushed to Quay.io on release as a backup Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
Edward Wilde authored
1. Use httptest.ResponseRecorder instead of custom implementation StringResponseWriter. 2. Remove verbose log line in infohandler Signed-off-by:
Edward Wilde <ewilde@gmail.com>
-
Edward Wilde authored
Extend the health endpoint and add gateway version information Resolves: #733 Signed-off-by:
Edward Wilde <ewilde@gmail.com>
-
- Jul 03, 2018
-
-
Ivana Yovcheva authored
Add Open Source Sharing is Caring Meetup, held in Sofia on 25th June, to the community.md Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
- Jul 02, 2018
-
-
Vivek Singh authored
This commit reverts the changes done in #738 to update the default secret mount path to `/run/secrets/` Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Jun 30, 2018
-
-
Alex Ellis (VMware) authored
Secret path submitted in ced39bcd was incorrect and is being reverted. Docker Swarm by default stores its sercrets in /run/secrets. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Jun 29, 2018
-
-
John McCabe authored
Signed-off-by:
John McCabe <john@johnmccabe.net>
-
- Jun 28, 2018
-
-
Vivek Singh authored
This changes updates the secret mount path default value to /var/openfaas/secrets at serveral places. It has been changed from /run/secrets/ to /var/openfaas/secrets after version 0.8.2 Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
- Jun 27, 2018
-
-
Steven Tsang authored
Signed-off-by:
Steven Tsang <tsangste@gmail.com>
-