Skip to content

Commit

Permalink
Add notes about GKE load-balancer default timeouts
Browse files Browse the repository at this point in the history
At the time of writing the default load-balancer timeout within GKE is 30 seconds.  This change adds notes within the Kubernetes deployment guide and the troubleshooting section to highlight that there may be timeout configuration outside of OpenFaaS while also drawing attention specifically to GKE.

Signed-off-by: Richard Gee <richard@technologee.co.uk>
  • Loading branch information
rgee0 committed Jan 10, 2019
1 parent 288198d commit 8e17192
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/deployment/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ A guide is available for configuring minikube here:
--user="$(gcloud config get-value core/account)"
```

Also, ensure any [default load-balancer timeouts within GKE](https://cloud.google.com/load-balancing/docs/https/#timeouts_and_retries) are understood and configured appropriately.

### Install the `faas-cli`

You can install the OpenFaaS CLI using `brew` or a `curl` script.
Expand Down
4 changes: 4 additions & 0 deletions docs/deployment/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ For asynchronous invocations of functions a separate timeout can be configured a

If the `ack_wait` is exceeded the task will not be acknowledge and the queue system will retry the invocation.

### Timeouts - Cloud Service Providers

There are situations where timeout values external to OpenFaaS may impact successful function execution. A typical scenario is where a Cloud platform's load balancer product is fronting the cluster in which OpenFaaS is running. A common example is when using the [GCP Kubernetes product, GKE](https://cloud.google.com/load-balancing/docs/https/#timeouts_and_retries)

## Function execution logs

By default the functions will not log out the result, but just show how long the process took to run and the length of the result in bytes.
Expand Down

0 comments on commit 8e17192

Please sign in to comment.