mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-02 08:36:04 +00:00
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 ```