mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Set sync frequency during integration
Without this, the sync loop runs continuously. IMO: This right here is why open structs are inferior to explicity constructors that take 75 arguments - you can't forget to pass an argument.
This commit is contained in:
parent
d098456b6d
commit
6fcb646ca5
@ -157,6 +157,7 @@ func SimpleRunKubelet(etcdClient tools.EtcdClient, dockerClient dockertools.Dock
|
||||
Address: util.IP(net.ParseIP(address)),
|
||||
EnableServer: true,
|
||||
EnableDebuggingHandlers: true,
|
||||
SyncFrequency: 3 * time.Second,
|
||||
}
|
||||
RunKubelet(&kcfg)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user