set backup value to ensure connections against kubelets eventually close

This commit is contained in:
David Eads 2019-03-08 11:22:47 -05:00
parent 064458de46
commit ff689ce3de

View File

@ -147,6 +147,8 @@ func ListenAndServeKubeletServer(
s := &http.Server{
Addr: net.JoinHostPort(address.String(), strconv.FormatUint(uint64(port), 10)),
Handler: &handler,
ReadTimeout: 4 * 60 * time.Minute,
WriteTimeout: 4 * 60 * time.Minute,
MaxHeaderBytes: 1 << 20,
}
if tlsOptions != nil {