k3s/pkg/proxy
Kubernetes Submit Queue c1a73ea685
Merge pull request #59286 from prameshj/udp-conntrack
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>.

Delete stale UDP conntrack entries that use hostPort

**What this PR does / why we need it**:
This PR introduces a change to delete stale conntrack entries for UDP connections, specifically for udp connections that use hostPort. When the pod listening on that udp port get updated/restarted(and gets a new ip address), these entries need to be flushed so that ongoing udp connections can recover once the pod is back and the new iptables rules have been installed. 
**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 #59033

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-02-23 19:54:08 -08:00
..
apis/kubeproxyconfig Merge pull request #57550 from m1093782566/cleanup-mode 2018-02-23 04:01:33 -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 #59286 from prameshj/udp-conntrack 2018-02-23 19:54:08 -08:00
ipvs Remove conntrack entry on udp rule add. 2018-02-22 23:34:42 -08:00
metrics add proxy metrics in app level 2017-10-16 21:10:51 +08:00
userspace Remove conntrack entry on udp rule add. 2018-02-22 23:34:42 -08:00
util Remove conntrack entry on udp rule add. 2018-02-22 23:34:42 -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 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
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