NGINX ingress controller timing out request after 60s
Because you appear to be using the actual ingress from ngnix.com, you need to use nginx.org/proxy-connect-timeout: "3m"
style annotations, as one can see in
their example
I am still pretty sure that my debugging trick of kubectl cp
-ing the nginx.conf
off the controller Pod would have helped you debug that situation on your own, but for sure reading the documentation for your ingress controller will go a long way, too
While this might not matter to you, their latest release is also 1.4.3 so I hope you are on an old version on purpose.
The issue was fixed by provided integer values (in seconds) for these annotations:
nginx.ingress.kubernetes.io/proxy-connect-timeout: "180"
nginx.ingress.kubernetes.io/proxy-read-timeout: "180"
nginx.ingress.kubernetes.io/proxy-send-timeout: "180"
It seems that this variation of the NGINX ingress controller requires such.