Traefik equivalent for proxy_read_timeout in Nginx

1/23/2020

We are using Traefik 2.1.3 as Kubernetes Ingress Controller.
Replacing an Nginx we are unable to mimic the option:

proxy_read_timeout 60s;

I would have expected a Middleware for this task but there isn't.

Is there an alternative? Ideas?

-- Thomas8
kubernetes
nginx
traefik

1 Answer

1/29/2020

Unfortunately there is no mention on this specific feature in Traefik documentations.

The closest match is the transport.respondingTimeouts.readTimeout as I mentioned.

It's still open but is stalled since March 2019 so It looks like it can be done but there is nowhere saying how.

I'd suggest you stay with Nginx or rethink your cycle strategy to fit your current needs while waiting for Traefik updates on this.

-- willrof
Source: StackOverflow