Commit db0d98da authored by Brendan Burns's avatar Brendan Burns

Merge pull request #2257 from jhadvig/kubelet_timeout

Bumping kubelet write/read timeout
parents 1f75d20e dfa076b7
...@@ -54,8 +54,8 @@ func ListenAndServeKubeletServer(host HostInterface, updates chan<- interface{}, ...@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment