Add timeout to kubelet client
This commit is contained in:
@@ -82,6 +82,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