mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-22 06:59:03 +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>. add cleanLegacyBindAddr **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #65263 **Special notes for your reviewer**: To fix the issue, use `activeBindAddrs` map which represents ip address successfully bind to DefaultDummyDevice in the round of sync use `currentBindAddrs` map which represents ip addresses bind to DefaultDummyDevice from the system create a function `cleanLegacyBindAddr` to unbind address which is in `currentBindAddrs` map but not in `activeBindAddrs` map **Release note**: ```release-note NONE ``` /sig network /area kube-proxy