Skip to content

Commit 2500989

Browse files
Jonatas Baldinalexellis
authored andcommitted
Describe how to change read_timeout and write_timeout K8S
Signed-off-by: Jonatas Baldin <[email protected]>
1 parent 043d754 commit 2500989

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lab8.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ Finished the sleep
8686
8787
There is also a maximum timeout duration set at the gateway and it will override the function timeout. At the time of writing the maximum timeout is configured at "20s", but can be configured to a longer or shorter value.
8888
89-
To update the gateway value set `read_timeout` and `write_timeout` in the `docker-compose.yml` file for the `gateway` and `faas-swarm` service then run `./deploy_stack.sh`.
89+
#### _Docker Swarm_
90+
To update the gateway value, set `read_timeout` and `write_timeout` in the `docker-compose.yml` file for the `gateway` and `faas-swarm` service then run `./deploy_stack.sh`.
91+
92+
#### _Kubernetes_
93+
To update the gateway value, set `gateway.readTimeout` and `gateway.writeTimeout` in the [values.yaml](https://github.com/openfaas/faas-netes/blob/master/chart/openfaas/values.yaml) file or use the Helm parameters `--set gateway.readTimeout=value` and `--set gateway.writeTimeout=value`.
9094
9195
Now move onto [Lab 9](lab9.md)

0 commit comments

Comments
 (0)