• Kubernetes Submit Queue's avatar
    Merge pull request #49257 from k82cn/k8s_42001 · b832992f
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 51574, 51534, 49257, 44680, 48836)
    
    Task 1: Tainted node by condition.
    
    **What this PR does / why we need it**:
    Tainted node by condition for MemoryPressure, OutOfDisk and so on.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: part of #42001 
    
    **Release note**:
    ```release-note
    Tainted nodes by conditions as following:
      * 'node.kubernetes.io/network-unavailable=:NoSchedule' if NetworkUnavailable is true
      * 'node.kubernetes.io/disk-pressure=:NoSchedule' if DiskPressure is true
      * 'node.kubernetes.io/memory-pressure=:NoSchedule' if MemoryPressure is true
      * 'node.kubernetes.io/out-of-disk=:NoSchedule' if OutOfDisk is true
    ```
    b832992f
Name
Last commit
Last update
..
ipam Loading commit data...
scheduler Loading commit data...
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
metrics.go Loading commit data...
node_controller.go Loading commit data...
nodecontroller_test.go Loading commit data...