Skip to content

Commit 1044742

Browse files
Merge pull request #617 from element-hq/gaelg/document-traefik-timeouts
document traefik timeouts
2 parents 1a94771 + 524d163 commit 1044742

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

docs/advanced.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,36 @@ To configure your own PostgreSQL Database in your installation, copy the file `c
4040

4141
K3s by default deploys the storage in `/var/lib/rancher/k3s/storage/`. If you want to change the path, you will have to run the K3s setup with the parameter `--default-local-storage-path <your path>`.
4242

43-
# Monitoring
43+
## Configuring Traefik ingress timeouts when using K3s
44+
45+
If you are experiencing timeouts when uploading large files to ESS, you will want to customize Traefik timeouts creating the file `traefik-config.yaml` in `/var/lib/rancher/k3s/server/manifests`. If the file already exists because you have configured custom ports for Traefik, add the example below to the existing file.
46+
47+
```yml
48+
apiVersion: helm.cattle.io/v1
49+
kind: HelmChartConfig
50+
metadata:
51+
name: traefik
52+
namespace: kube-system
53+
spec:
54+
valuesContent: |-
55+
ports:
56+
web:
57+
transport:
58+
respondingTimeouts:
59+
readTimeout: "<timeout in seconds>s"
60+
writeTimeout: "<timeout in seconds>s"
61+
idleTimeout: "<timeout in seconds>s"
62+
websecure:
63+
transport:
64+
respondingTimeouts:
65+
readTimeout: "<timeout in seconds>s"
66+
writeTimeout: "<timeout in seconds>s"
67+
idleTimeout: "<timeout in seconds>s"
68+
```
69+
70+
The above values correspond to the Traefik installation managed by K3s. If you are installing Traefik by other means, the exact structure of the configuration may differ.
71+
72+
## Monitoring
4473
4574
The chart provides `ServiceMonitor` automatically to monitor the metrics exposed by ESS Community.
4675

newsfragments/617.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Document how to configure k3s treafik timeouts.

0 commit comments

Comments
 (0)