mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
make update period for Node not a multiple of 5
This commit is contained in:
parent
b9293a093b
commit
c9574560cc
@ -37,7 +37,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
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
|
updateRetryTimeout = 30 * time.Second
|
||||||
daemonsetLabelPrefix = "daemonset-"
|
daemonsetLabelPrefix = "daemonset-"
|
||||||
daemonsetNameLabel = daemonsetLabelPrefix + "name"
|
daemonsetNameLabel = daemonsetLabelPrefix + "name"
|
||||||
|
Loading…
Reference in New Issue
Block a user