mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
Add timeout to kubelet client
This commit is contained in:
@@ -100,6 +100,7 @@ func NewAPIServer() *APIServer {
|
||||
KubeletConfig: client.KubeletConfig{
|
||||
Port: 10250,
|
||||
EnableHttps: false,
|
||||
HTTPTimeout: time.Duration(5) * time.Second,
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user