• Kubernetes Submit Queue's avatar
    Merge pull request #39469 from kevin-wangzefeng/forgiveness-API-changes · 760a51f0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 39469, 40557)
    
    Forgiveness api changes
    
    **What this PR does / why we need it**:
    Splited from #34825 , contains api changes that are needed to implement forgiveness:
    1. update toleration api types to support forgiveness, added a new field forgivenessSeconds to indicate the duration of time it tolerates a taint.
    2. update taint api types, added a new field to indicate the time the taint is added.
    
    **Which issue this PR fixes** : 
    Related issue: #1574
    Related PR: #34825 
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    forgiveness alpha version api definition
    ```
    760a51f0
validation.go 152 KB