• Kubernetes Submit Queue's avatar
    Merge pull request #37093 from simonswine/fix-tolerate-unready-endpoints-pods-terminating · d6dbd509
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 39092, 39126, 37380, 37093, 39237)
    
    Endpoints with TolerateUnready annotation, should list Pods in state terminating
    
    **What this PR does / why we need it**:
    
    We are using preStop lifecycle hooks to gracefully remove a node from a cluster. This hook is potentially long running and after the preStop hook is fired, the DNS resolution of the soon to be stopped Pod is failing, which causes a failure there.
    
    **Special notes for your reviewer**:
    
    Would be great to backport that to 1.4, 1.3 
    
    **Release note**:
    
    ```release-note
    Endpoints, that tolerate unready Pods, are now listing Pods in state Terminating as well
    ```
    
    @bprashanth
    d6dbd509
Name
Last commit
Last update
..
e2e 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...
OWNERS Loading commit data...
test_owners.csv Loading commit data...