• Weixu Zhuang's avatar
    Enqueue DaemonSet only it has new or updated nodes in it. · c7756ce8
    Weixu Zhuang authored
    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.
    
    This change examinate the daemonSet before we enqueue it into DaemonSetController's work queue.
    It will enqueue the DaemonSet only when it is related to the changed node.
    c7756ce8
Name
Last commit
Last update
..
controller.go Loading commit data...
controller_test.go Loading commit data...
doc.go Loading commit data...