• 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
..
e2e Loading commit data...
e2e_federation Loading commit data...
e2e_node Loading commit data...
fixtures Loading commit data...
images Loading commit data...
integration Loading commit data...
kubemark Loading commit data...
list Loading commit data...
soak Loading commit data...
utils Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
test_owners.csv Loading commit data...