Add timeout to kubelet client

This commit is contained in:
Ravi Gadde
2015-03-18 18:11:39 -07:00
parent df710cdff5
commit 5871e53060
6 changed files with 24 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ func NewCMServer() *CMServer {
KubeletConfig: client.KubeletConfig{
Port: ports.KubeletPort,
EnableHttps: false,
HTTPTimeout: time.Duration(5) * time.Second,
},
}
return &s