Merge pull request #5635 from ravigadde/master

Add timeout to kubelet client
This commit is contained in:
Brian Grant
2015-03-26 14:55:24 -07:00
6 changed files with 24 additions and 1 deletions

View File

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