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:
Tim Hockin 2015-01-03 20:39:39 -08:00
parent d098456b6d
commit 6fcb646ca5

View File

@ -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)
}