make update period for Node not a multiple of 5

This commit is contained in:
Mike Danese 2015-10-01 16:51:41 -07:00
parent b9293a093b
commit c9574560cc

View File

@ -37,7 +37,9 @@ import (
)
const (
updateRetryPeriod = 5 * time.Second
// this should not be a multiple of 5, because node status updates
// every 5 seconds. See https://github.com/kubernetes/kubernetes/pull/14915.
updateRetryPeriod = 2 * time.Second
updateRetryTimeout = 30 * time.Second
daemonsetLabelPrefix = "daemonset-"
daemonsetNameLabel = daemonsetLabelPrefix + "name"