• Kubernetes Submit Queue's avatar
    Merge pull request #49110 from xiangpengzhao/remove-annotation-affinity · 2492477f
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 49055, 49128, 49132, 49134, 49110)
    
    Remove affinity annotations leftover
    
    **What this PR does / why we need it**:
    This is a further cleanup for affinity annotations, following #47869.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    ref: #47869
    
    **Special notes for your reviewer**:
    - I remove the commented test cases and just leave TODOs instead. I think converting these untestable test cases for now is not necessary. We can add new test cases in future.
    - I remove the e2e test case `validates that embedding the JSON PodAffinity and PodAntiAffinity setting as a string in the annotation value work` because we have a test case `validates that InterPod Affinity and AntiAffinity is respected if matching` to test the same thing.
    
    /cc @aveshagarwal @bsalamat  @gyliu513 @k82cn @timothysc 
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    2492477f
Name
Last commit
Last update
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
core 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...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...
testutil.go Loading commit data...