mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #2257 from jhadvig/kubelet_timeout
Bumping kubelet write/read timeout
This commit is contained in:
commit
db0d98daa2
@ -54,8 +54,8 @@ func ListenAndServeKubeletServer(host HostInterface, updates chan<- interface{},
|
||||
s := &http.Server{
|
||||
Addr: net.JoinHostPort(address.String(), strconv.FormatUint(uint64(port), 10)),
|
||||
Handler: &handler,
|
||||
ReadTimeout: 10 * time.Second,
|
||||
WriteTimeout: 10 * time.Second,
|
||||
ReadTimeout: 5 * time.Minute,
|
||||
WriteTimeout: 5 * time.Minute,
|
||||
MaxHeaderBytes: 1 << 20,
|
||||
}
|
||||
glog.Fatal(s.ListenAndServe())
|
||||
|
Loading…
Reference in New Issue
Block a user