Commit Graph

153 Commits

Author SHA1 Message Date
e6a3658ac3 Edit queue-worker image with openfaas ns
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>
2018-07-13 11:16:23 +01:00
49cc6ae727 Move to openfaas Hub NS for gw/swarm
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-07-02 13:38:41 +01:00
500b883084 Revert secret path
Secret path submitted in ced39bcda7
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>
2018-06-30 13:50:03 +01:00
ced39bcda7 Updated default secret mount path value
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>
2018-06-28 21:37:10 +03:00
25aa95534c Bump gateway version to 0.8.3
New gateway version includes updated queue-worker interface.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-18 20:11:50 +01:00
9d0800837a Bump queue-worker in compose file
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-18 20:10:46 +01:00
7b40854cfb Bump faas-swarm to latest
Includes fixes for secrets path, tested on Swarm.

Secrets now mounted at /var/openfaas/secrets/

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-16 17:52:09 -07:00
ac9f0df5e5 Comment out secrets for gateway
If needed, create the secrets and then uncomment.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-04 21:25:15 -07:00
0bb05480a3 Remove sample functions for swarm
Break out sample functions into new stack.yml
Update instructions in Testdrive.md

Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2018-06-04 19:58:10 -07:00
3ee7c99701 Fix typo on ack_wait
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-28 15:21:42 -07:00
8133414183 Read secrets from variable path
This change enables secrets to be read from any mount on disk
rather than hard-coding a certain location which suits Swarm or
K8s. The default value if not specified will look in the Swarm
location of /run/secrets/

README.md (docs) updated and set to off by default.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-23 11:42:42 +01:00
ef8b38e104 Move to 0.8.1 of gateway
Makes health and info endpoints available, see release notes.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-20 19:11:41 +01:00
a24302ef46 FaaS-Swarm updated to 0.2.6
FaaS-Swarm updates:
- Support varied private repository tag names
- Move to start-first update strategy

Signed-off-by: Alex Ellis (VMware) alexellis2@gmail.com
2018-05-11 14:16:09 +01:00
3732276c0d Update gateway version to 0.8.0
This updates the gateway version to the latest 0.8.0 and faas
version in markdown docs

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-04-28 09:35:17 +01:00
5644d6ab20 Move gateway to gateway:0.7.9 2018-04-10 13:51:47 -07:00
eb2dc7aeab Update queue-worker version
Update queue-worker version to latest 0.4.3 in docker compose

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-03-29 14:41:58 +01:00
b20f527d76 Replace tabs with spaces
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2018-03-29 12:53:55 +01:00
a20534fb41 Bump gateway version to 0.7.8
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-26 20:26:55 +01:00
6921e4fc0f Bump gateway to 0.7.7 for direct function access
0.7.7 allows direct function access bypassing the provider - this makes
the throughput increase and skips a HTTP hop that is no longer required.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-24 16:33:34 +00:00
0c7e59fe8a Add direct_functions mode to gateway for tuning
Adds a pair of configuration options for performance tuning. The
gateway can now invoke functions directly and can bypass the
provider. See updated table in README.md for configuration values.

BaseURLResolver is added with unit tests that decouples resolving
upstream URL from the reverse proxy client code.

- SingleHostBaseURLResolver resolves a single upstream host
- FunctionAsHostBaseURLResolver resolves host based upon conventions
within the URL of the request to a function for direct access

Tested with Kubernetes (faas-netes) and faas-swarm through UI, CLI
calling system endpoints and functions directly.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-23 16:35:37 +00:00
63f8707544 Bump faas-swarm 2018-03-14 22:39:37 +00:00
806e7f88c4 Remove memory limit on gateway/swarm and remove old armhf file
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-13 16:38:29 +00:00
62a15032ba Add openfaas label to functions network
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-13 16:14:59 +00:00
616ac44739 Bump alertmanager to RC version due to bug
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-13 09:26:32 +00:00
9cdf24dfc6 Introduce upstream_timeout in .yml file
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 12:49:25 +00:00
db8eb5cfe2 Bump faas-swarm to 0.2.0
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-03 20:42:16 +00:00
1e4b0e3c0b Update swagger for function query
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-01 08:34:32 +00:00
8f8e337dcc Bump tags for Gateway / FaaS-Swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-25 12:42:27 +00:00
368bd1680d update read/write timeout config in seconds
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>

updated gateway image tag to new release version
2018-02-25 12:35:39 +00:00
4e9d999554 Bump gateway and watchdog tags/versions
This commit bumps the non-arm gateway from 0.7.0 to 0.7.1 and the arm
variants from 0.6.9 to 0.7.0.

It also updates all watchdog versions to the 0.7.1 release.

Signed-off-by: John McCabe <john@johnmccabe.net>
2018-02-25 11:54:21 +00:00
8a3139325b Bump to 0.1.5 of faas-swarm with less verbose logging
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-01 09:42:21 +00:00
ff9f7a5541 Make debugging less verbose
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-01 09:37:05 +00:00
f954bf0733 Merge master into breakout_swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-01 09:29:54 +00:00
9f876ba94b Bump gateway version
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-29 16:15:15 +00:00
6199c61178 Remove non-async deployment option
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-22 09:14:56 +00:00
efebf2e217 Bump gateway to 0.6.14
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 14:21:53 +00:00
2949a7a1d1 Bump versions for store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-30 10:08:58 +01:00
bc16d125bf Lock down Prometheus Alertmanager and NATS ports by default (#378)
* Stop exposing Alertmanager and NATS ports

This commit stops exposing the Prometheus Alertmanager and NATS ports by
default on Swarm.

The respective sections are commented out with a note on re-enabling
them.

Signed-off-by: John McCabe <john@johnmccabe.net>

* Revert queue-worker dev tag in yaml

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-11-30 01:05:09 +01:00
e66357bd5a Update docker-compose.yml 2017-11-26 22:49:53 +00:00
81645789b1 Expand limits for GW 2017-11-25 08:58:53 +00:00
399d4d40e7 Removes depends_on tag from docker-compose.yml files and documentation
Signed-off-by: Vincenzo Ferme <fermevincenzo@gmail.com>
2017-11-21 18:56:36 +00:00
4d5a13bbf6 Add defaults for tuning 2017-11-15 11:52:58 +00:00
a077dd7627 Bump samples/versions - reduce image sizes through multi-stage builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 11:20:40 +00:00
8f1345b7c6 Remove NATS reference 2017-11-06 15:44:51 +00:00
10feadf965 Bump YML
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-06 09:42:05 +00:00
9eff3e7d99 Add memory limits and reservations for OF services
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-03 11:24:04 +00:00
259b35e85b Add default timeout as 8 seconds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-31 22:26:04 +00:00
85d3e2ba87 Revert to compose 3.2 due to PWD lagging behind
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-28 21:48:27 +01:00
73e702d908 Push to latest gateway version
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-23 19:05:27 +01:00
f6bbe7d310 Bump master versions to latest release
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-20 22:09:55 +01:00