k3s/pkg/proxy
Kubernetes Submit Queue 61226bdd7b
Merge pull request #66491 from Lion-Wei/ipvs-nodeip
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
```
2018-08-14 17:55:04 -07:00
..
apis/kubeproxyconfig make package name match all the import aliases 2018-08-01 15:31:12 -04:00
config Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
healthcheck Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
iptables fix spell 2018-07-14 10:05:56 +08:00
ipvs Merge pull request #66491 from Lion-Wei/ipvs-nodeip 2018-08-14 17:55:04 -07:00
metrics add proxy metrics in app level 2017-10-16 21:10:51 +08:00
userspace reuse iptablesContainerPortalArgs 2018-07-23 11:35:16 +08:00
util Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
winkernel fix spell 2018-07-14 10:05:56 +08:00
winuserspace Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
OWNERS add me to iptables/kube-proxy reviewers 2018-02-22 17:36:57 -05:00
doc.go
endpoints.go [kube-proxy] Mass service/endpoint info functions rename and comments 2018-02-27 11:14:02 -08:00
endpoints_test.go [kube-proxy] Mass service/endpoint info functions rename and comments 2018-02-27 11:14:02 -08:00
service.go LoadBalancerStatus make use of generated deep copy method 2018-03-28 14:08:50 +08:00
service_test.go [kube-proxy] Mass service/endpoint info functions rename and comments 2018-02-27 11:14:02 -08:00
types.go [kube-proxy] Mass service/endpoint info functions rename and comments 2018-02-27 11:14:02 -08:00