kubernetes/pkg/proxy
Jacob Tanenbaum 144280e7a7 Correctly Clear conntrack entrty on endpoint changes when using nodeport
When using NodePort to connect to an endpoint using UDP, if the endpoint is deleted on
restoration of the endpoint traffic does not flow. This happens because conntrack holds
the state of the connection and the proxy does not correctly clear the conntrack entry
for the stale endpoint.

Introduced a new function to conntrack ClearEntriesForPortNAT that uses the endpointIP
and NodePort to remove the stale conntrack entry and allow traffic to resume when
the endpoint is restored.

Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
2018-12-03 15:02:48 -05:00
..
apis/config fix typo 2018-11-01 10:07:15 -07:00
config Move from glog to klog 2018-11-10 07:50:31 -05:00
healthcheck Move from glog to klog 2018-11-10 07:50:31 -05:00
iptables Correctly Clear conntrack entrty on endpoint changes when using nodeport 2018-12-03 15:02:48 -05:00
ipvs set net/ipv4/vs/conn_reuse_mode to 0 2018-11-16 15:17:24 +08:00
metrics add proxy metrics in app level 2017-10-16 21:10:51 +08:00
userspace Move from glog to klog 2018-11-10 07:50:31 -05:00
util Move from glog to klog 2018-11-10 07:50:31 -05:00
winkernel Typo fix: healtcheck->healthcheck (#65394) 2018-11-13 19:45:24 -08:00
winuserspace Move from glog to klog 2018-11-10 07:50:31 -05:00
BUILD Move from glog to klog 2018-11-10 07:50:31 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
endpoints_test.go use versioned api in kube-proxy 2018-08-16 09:59:33 +08:00
endpoints.go Move from glog to klog 2018-11-10 07:50:31 -05:00
OWNERS Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
service_test.go Changes according to the approved KEP. SCTP is supported for HostPort and LoadBalancer. Alpha feature flag SCTPSupport controls the support of SCTP. Kube-proxy config parameter is removed. 2018-08-27 05:58:36 +00:00
service.go Correctly Clear conntrack entrty on endpoint changes when using nodeport 2018-12-03 15:02:48 -05:00
types.go Correctly Clear conntrack entrty on endpoint changes when using nodeport 2018-12-03 15:02:48 -05:00