mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +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{
|
s := &http.Server{
|
||||||
Addr: net.JoinHostPort(address.String(), strconv.FormatUint(uint64(port), 10)),
|
Addr: net.JoinHostPort(address.String(), strconv.FormatUint(uint64(port), 10)),
|
||||||
Handler: &handler,
|
Handler: &handler,
|
||||||
ReadTimeout: 10 * time.Second,
|
ReadTimeout: 5 * time.Minute,
|
||||||
WriteTimeout: 10 * time.Second,
|
WriteTimeout: 5 * time.Minute,
|
||||||
MaxHeaderBytes: 1 << 20,
|
MaxHeaderBytes: 1 << 20,
|
||||||
}
|
}
|
||||||
glog.Fatal(s.ListenAndServe())
|
glog.Fatal(s.ListenAndServe())
|
||||||
|
Loading…
Reference in New Issue
Block a user