Make haproxy/nginx client timeout configurable (#5140)

Change-Id: I61319a06eb33d9fc868e19941924f387088b856b
pull/5145/head
Matthew Mosesohn 2019-09-05 10:32:51 +03:00 committed by Kubernetes Prow Robot
parent 56523812d3
commit 7f74906d33
3 changed files with 4 additions and 2 deletions

View File

@ -46,6 +46,8 @@ kubelet_status_update_frequency: 10s
loadbalancer_apiserver_memory_requests: 32M
loadbalancer_apiserver_cpu_requests: 25m
loadbalancer_apiserver_keepalive_timeout: 5m
# kube_api_runtime_config:
# - extensions/v1beta1/daemonsets=true
# - extensions/v1beta1/deployments=true

View File

@ -13,7 +13,7 @@ defaults
timeout http-request 5m
timeout queue 5m
timeout connect 30s
timeout client 15m
timeout client {{ loadbalancer_apiserver_keepalive_timeout }}
timeout server 15m
timeout http-keep-alive 30s
timeout check 30s

View File

@ -32,7 +32,7 @@ http {
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 75s;
keepalive_timeout {{ loadbalancer_apiserver_keepalive_timeout }};
keepalive_requests 100;
reset_timedout_connection on;
server_tokens off;