• Kubernetes Submit Queue's avatar
    Merge pull request #39914 from kevin-wangzefeng/forgiveness-library-changes · 9642104e
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 40696, 39914, 40374)
    
    Forgiveness library changes
    
    **What this PR does / why we need it**:
    Splited from #34825, contains library changes that are needed to implement forgiveness:
    
    1. ~~make taints-tolerations matching respect timestamps, so that one toleration can just tolerate a taint for only a period of time.~~ As TaintManager is caching taints and observing taint changes, time-based checking is now outside the library (in TaintManager). see #40355.
    2. make tolerations respect wildcard key.
    3. add/refresh some related functions to wrap taints-tolerations operation.
    
    **Which issue this PR fixes**: 
    Related issue: #1574
    Related PR: #34825, #39469 
    ~~Please note that the first 2 commits in this PR come from #39469 .~~
    
    **Special notes for your reviewer**:
    
    ~~Since currently we have `pkg/api/helpers.go` and `pkg/api/v1/helpers.go`, there are some duplicated periods of code laying in these two files.~~
    
    ~~Ideally we should move taints-tolerations related functions into a separate package (pkg/util/taints), and make it a unified set of implementations. But I'd just suggest to do it in a follow-up PR after Forgiveness ones done, in case of feature Forgiveness getting blocked to long.~~
    
    **Release note**:
    
    ```release-note
    make tolerations respect wildcard key
    ```
    9642104e
Name
Last commit
Last update
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
factory Loading commit data...
metrics Loading commit data...
schedulercache Loading commit data...
testing Loading commit data...
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
equivalence_cache.go Loading commit data...
extender.go Loading commit data...
extender_test.go Loading commit data...
generic_scheduler.go Loading commit data...
generic_scheduler_test.go Loading commit data...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...