Set proxy_timeout to 10m in nginx.conf
Fixes #655. This is a teporary solution for long-polling idle connections to apiserver. It will make Nginx not cut them for the duration of expected timeout. It will also make Nginx extremely slow in realizing that there is some issue with connectivity to apiserver as well, so it might not be perfect permanent solution.
This commit is contained in:
parent
f75e2c5119
commit
d92124561d
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ stream {
|
|||
server {
|
||||
listen {{ kube_apiserver_port }};
|
||||
proxy_pass kube_apiserver;
|
||||
proxy_timeout 3s;
|
||||
proxy_timeout 10m;
|
||||
proxy_connect_timeout 1s;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue