mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Set non-zero default HTTP/File check intervals to avoid hotloop
cmd/integration.go was hot-looping for both, but did not need to.
This commit is contained in:
parent
ef758881d1
commit
90beaa3d61
@ -287,6 +287,8 @@ func SimpleRunKubelet(client *client.Client,
|
|||||||
Address: util.IP(net.ParseIP(address)),
|
Address: util.IP(net.ParseIP(address)),
|
||||||
EnableServer: true,
|
EnableServer: true,
|
||||||
EnableDebuggingHandlers: true,
|
EnableDebuggingHandlers: true,
|
||||||
|
HTTPCheckFrequency: 1 * time.Second,
|
||||||
|
FileCheckFrequency: 1 * time.Second,
|
||||||
StatusUpdateFrequency: 3 * time.Second,
|
StatusUpdateFrequency: 3 * time.Second,
|
||||||
PodStatusUpdateFrequency: 2 * time.Minute,
|
PodStatusUpdateFrequency: 2 * time.Minute,
|
||||||
SyncFrequency: 3 * time.Second,
|
SyncFrequency: 3 * time.Second,
|
||||||
|
Loading…
Reference in New Issue
Block a user