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

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