k3s/pkg/proxy
Kubernetes Submit Queue 2f622b2a28
Merge pull request #52569 from tmjd/add-proxy-forward-rules
Automatic merge from submit-queue (batch tested with PRs 55009, 55532, 55601, 52569, 55533). 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>.

Kube-proxy adds forward rules to ensure NodePorts work

**What this PR does / why we need it**:
Updates kube-proxy to set up proper forwarding so that NodePorts work with docker 1.13 without depending on iptables FORWARD being changed manually/externally.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39823

**Special notes for your reviewer**:
@thockin I used option number 2 that I mentioned in the #39823 issue, please let me know what you think about this change.  If you are happy with the change then I can try to add tests but may need a little direction about what and where to add them.

**Release note**:

```release-note
Add iptables rules to allow Pod traffic even when default iptables policy is to reject.
```
2017-11-14 00:09:57 -08:00
..
apis/kubeproxyconfig Enforce use of fixed size int types in the API 2017-11-13 11:28:59 -08:00
config Update generated files 2017-11-09 12:14:08 +01:00
healthcheck Update generated files 2017-11-09 12:14:08 +01:00
iptables Merge pull request #52569 from tmjd/add-proxy-forward-rules 2017-11-14 00:09:57 -08:00
ipvs Merge pull request #55601 from m1093782566/getlocalips 2017-11-14 00:09:52 -08:00
metrics add proxy metrics in app level 2017-10-16 21:10:51 +08:00
userspace replace sets.List() with sets.UnsortedList() 2017-11-13 10:20:54 +08:00
util fix ipvs proxier getLocalIPs() error 2017-11-13 17:55:53 +08:00
winkernel replace sets.List() with sets.UnsortedList() 2017-11-13 10:20:54 +08:00
winuserspace Update generated files 2017-11-09 12:14:08 +01:00
BUILD proxy: cleanup old build file 2017-11-07 16:11:37 -08:00
OWNERS add m1093782566 to pkg/proxy/OWNERS 2017-10-13 11:39:25 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
types.go kube-proxy: OnServiceUpdate takes pointers 2017-04-03 17:19:39 -07:00