mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 66491, 66587, 66856, 66657, 66923). 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>. optimize ipvs get nodeIP **What this PR does / why we need it**: Optimize ipvs get nodeIP. The original ipvs `NodeIPs` need first get all local type address to set1, then get address of dummy device `kube-ipvs0` to set2, then do diff of set1 and set2 to get local addresses we need. This work gonna result in unnecessary resource consumption, especially for large cluster, will have lots address in dummy device `kube-ipvs0`. This pr optimized the workaround. **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 # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` |
||
---|---|---|
.. | ||
apis/kubeproxyconfig | ||
config | ||
healthcheck | ||
iptables | ||
ipvs | ||
metrics | ||
userspace | ||
util | ||
winkernel | ||
winuserspace | ||
BUILD | ||
OWNERS | ||
doc.go | ||
endpoints.go | ||
endpoints_test.go | ||
service.go | ||
service_test.go | ||
types.go |