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

@@ -86,6 +86,9 @@ type KubeletConfig struct {
// TLSClientConfig contains settings to enable transport layer security
TLSClientConfig
// HTTPTimeout is used by the client to timeout http requests to Kubelet.
HTTPTimeout time.Duration
}
// TLSClientConfig contains settings to enable transport layer security