k3s/pkg/proxy
Kubernetes Submit Queue 42378eab40
Merge pull request #58052 from m1093782566/nodeip-config
Automatic merge from submit-queue (batch tested with PRs 60430, 60115, 58052, 60355, 60116). 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>.

Make nodeport ip configurable

**What this PR does / why we need it**:

By default, kube-proxy accepts everything from NodePort without any filter. It can be a problem for nodes which has both public and private NICs, and people only want to provide a service in private network and avoid exposing any internal service on the public IPs.

This PR makes nodeport ip configurable.

**Which issue(s) this PR fixes**:
Closes: #21070

**Special notes for your reviewer**:

Design proposal see: https://github.com/kubernetes/community/pull/1547

Issue in feature repo: https://github.com/kubernetes/features/issues/539

**Release note**:

```release-note
Make NodePort IP addresses configurable
```
2018-02-27 09:38:44 -08:00
..
apis/kubeproxyconfig Merge pull request #58052 from m1093782566/nodeip-config 2018-02-27 09:38:44 -08:00
config Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
healthcheck Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
iptables Merge pull request #58052 from m1093782566/nodeip-config 2018-02-27 09:38:44 -08:00
ipvs update bazel 2018-02-26 23:48:48 +08:00
metrics add proxy metrics in app level 2017-10-16 21:10:51 +08:00
userspace userspace part changes 2018-02-26 23:48:48 +08:00
util fix static checks 2018-02-26 23:49:26 +08:00
winkernel fix all the typos across the project 2018-02-11 11:04:14 +08:00
winuserspace Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
OWNERS add me to iptables/kube-proxy reviewers 2018-02-22 17:36:57 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
endpoints.go proxy endpoints part changes 2018-02-09 17:20:47 +08:00
endpoints_test.go proxy endpoints part changes 2018-02-09 17:20:47 +08:00
service.go proxy service part changes 2018-02-09 17:20:44 +08:00
service_test.go proxy service part changes 2018-02-09 17:20:44 +08:00
types.go abstract proxy servicePort and endpoints 2018-02-07 11:46:31 +08:00