• Kubernetes Submit Queue's avatar
    Merge pull request #46621 from gyliu513/NodeSelectorMatches · 3fe8df76
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 46787, 46876, 46621, 46907, 46819)
    
    Highlight nodeSelector when checking nodeSelector for Pod.
    
    **What this PR does / why we need it**:
    Currently, we are using function name as `PodSelectorMatches` to check if `nodeSelector` matches for a Pod, it is better update the function name a bit to reflect it is checking `nodeSelector` for a Pod.
    
    The proposal is rename `PodSelectorMatches` as `PodMatchNodeSelector`.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    3fe8df76
predicates.go 51.1 KB