mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-10-15 19:56:15 +00:00
traefik(kube): raise web entrypoint read timeout to 5m
Traefik v3 defaults respondingTimeouts.readTimeout to 60s counted over the whole request body, so large HTTP git pushes get a 504 the moment they pass one minute. writeTimeout stays unset: a cap there would cut long-lived SSE streams mid-flight.
This commit is contained in:
@@ -9,6 +9,11 @@ ports:
|
|||||||
trustedIPs:
|
trustedIPs:
|
||||||
- 127.0.0.1/32
|
- 127.0.0.1/32
|
||||||
- 10.0.0.0/8
|
- 10.0.0.0/8
|
||||||
|
transport:
|
||||||
|
respondingTimeouts:
|
||||||
|
# v3 default is 60s, counted over the whole request body:
|
||||||
|
# large HTTP git pushes die with a 504 past one minute.
|
||||||
|
readTimeout: 5m
|
||||||
# Tolerate failover node
|
# Tolerate failover node
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: ENC[AES256_GCM,data:r4uAu1ni9/Z8,iv:aKgn6DgT9XnjzmotnaEIL+WzUiQ34CazfervJwrYsdM=,tag:EeOY1YZwNCOPgHwXpas3ew==,type:str]
|
- key: ENC[AES256_GCM,data:r4uAu1ni9/Z8,iv:aKgn6DgT9XnjzmotnaEIL+WzUiQ34CazfervJwrYsdM=,tag:EeOY1YZwNCOPgHwXpas3ew==,type:str]
|
||||||
|
|||||||
Reference in New Issue
Block a user