Configuring Traefik timeout values for large file uploads and downloads
When uploading or downloading large files, the default timeout value for readTimeout, writeTimeout and idleTimeout errors in Traefik proxy might not be sufficient. You can set the Traefik proxy timeout to a new duration instead of the default value.
You can modify the default timeout values and configure them if
needed. The following table shows the default values for timeout errors in Traefik
proxy:
| Error | Default value | Usage |
|---|---|---|
| readTimeout | 10 minutes | For file uploads |
| writeTimeout | 15 minutes | For file downloads |
| idleTimeout | 1 minute | For keep-alive |
kubectl -n [***NAMESPACE***] apply -f /tmp/traefik-config.backup.yaml
kubectl -n [***NAMESPACE***] rollout restart deployment/ingress-controller