The addNode and UpdateNode methods in pkg/controller/daemon/controller.go should only enqueue related DaemonSet #17441
Labels
area/controller-manager
area/workload-api/daemonset
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
sig/apps
Categorizes an issue or PR as relevant to SIG Apps.
When add node or update node func is called, all DaemonSets are enqueued to workqueue of DaemonSet Controller. The consumer of the workqueue does an iteration of node.List for every DaemonSet in the workqueue.
It is not efficient, we should enqueue DaemonSet only it has new or updated nodes in it.
The text was updated successfully, but these errors were encountered: