mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 00:34:10 -04:00
Merge pull request #38878 from kubernetes/revert-38780-ds-fix1
Automatic merge from submit-queue (batch tested with PRs 34353, 33837, 38878) Revert "daemonset: bail out after we enqueue once" I get overzealous sometimes. Reverts kubernetes/kubernetes#38780
This commit is contained in:
commit
5f82fe76a2
1 changed files with 0 additions and 2 deletions
|
|
@ -385,7 +385,6 @@ func (dsc *DaemonSetsController) addNode(obj interface{}) {
|
|||
shouldEnqueue := dsc.nodeShouldRunDaemonPod(node, ds)
|
||||
if shouldEnqueue {
|
||||
dsc.enqueueDaemonSet(ds)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -407,7 +406,6 @@ func (dsc *DaemonSetsController) updateNode(old, cur interface{}) {
|
|||
shouldEnqueue := (dsc.nodeShouldRunDaemonPod(oldNode, ds) != dsc.nodeShouldRunDaemonPod(curNode, ds))
|
||||
if shouldEnqueue {
|
||||
dsc.enqueueDaemonSet(ds)
|
||||
return
|
||||
}
|
||||
}
|
||||
// TODO: it'd be nice to pass a hint with these enqueues, so that each ds would only examine the added node (unless it has other work to do, too).
|
||||
|
|
|
|||
Loading…
Reference in a new issue