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

@@ -89,6 +89,7 @@ func NewKubeletClient(config *KubeletConfig) (KubeletClient, error) {
c := &http.Client{
Transport: transport,
Timeout: config.HTTPTimeout,
}
return &HTTPKubeletClient{
Client: c,