• 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
..
daemon Loading commit data...
deployment Loading commit data...
endpoint Loading commit data...
framework Loading commit data...
gc Loading commit data...
job Loading commit data...
namespace Loading commit data...
node Loading commit data...
persistentvolume Loading commit data...
podautoscaler Loading commit data...
replication Loading commit data...
resourcequota Loading commit data...
route Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
controller_utils.go Loading commit data...
controller_utils_test.go Loading commit data...
doc.go Loading commit data...