mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-30 05:43:58 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Move endpoints IPPart function to util **What this PR does / why we need it**: Clean up proxier.go Move endpoints IPPart function to util so that it can be consumed by different proxiers. BTW, the newer `IPPart()` supports IPV6, we need to update it in `ipvs/proxier.go` **Which issue this PR fixes**: closes #53632 **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` /sig network /area kube-proxy