Skip to content

Commit 10d5dd6

Browse files
rgee0alexellis
authored andcommitted
Add notes about GKE load-balancer default timeouts
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 <[email protected]>
1 parent 288198d commit 10d5dd6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/deployment/kubernetes.md

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ A guide is available for configuring minikube here:
2525
--user="$(gcloud config get-value core/account)"
2626
```
2727

28+
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.
29+
2830
### Install the `faas-cli`
2931

3032
You can install the OpenFaaS CLI using `brew` or a `curl` script.

docs/deployment/troubleshooting.md

+4
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ For asynchronous invocations of functions a separate timeout can be configured a
154154

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

157+
### Timeouts - Cloud Service Providers
158+
159+
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).
160+
157161
## Function execution logs
158162

159163
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.

0 commit comments

Comments
 (0)