mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Merge pull request #5635 from ravigadde/master
Add timeout to kubelet client
This commit is contained in:
@@ -85,6 +85,7 @@ func NewCMServer() *CMServer {
|
||||
KubeletConfig: client.KubeletConfig{
|
||||
Port: ports.KubeletPort,
|
||||
EnableHttps: false,
|
||||
HTTPTimeout: time.Duration(5) * time.Second,
|
||||
},
|
||||
}
|
||||
return &s
|
||||
|
Reference in New Issue
Block a user