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

@@ -100,6 +100,7 @@ func NewAPIServer() *APIServer {
KubeletConfig: client.KubeletConfig{
Port: 10250,
EnableHttps: false,
HTTPTimeout: time.Duration(5) * time.Second,
},
}