kubernetes/pkg/util
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
..
async Move from glog to klog 2018-11-10 07:50:31 -05:00
bandwidth Move from glog to klog 2018-11-10 07:50:31 -05:00
config Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
configz set right Content-Type for configz 2018-03-29 16:07:47 +08:00
conntrack Correctly Clear conntrack entrty on endpoint changes when using nodeport 2018-12-03 15:02:48 -05:00
coverage Move from glog to klog 2018-11-10 07:50:31 -05:00
dbus fix golint for some of pkg/util 2018-10-17 10:11:49 +08:00
ebtables Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
env Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
file Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
filesystem unpack dynamic kubelet config payloads to files 2018-04-19 09:18:53 -07:00
flag Move from glog to klog 2018-11-10 07:50:31 -05:00
flock Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
goroutinemap Move from glog to klog 2018-11-10 07:50:31 -05:00
hash Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
initsystem Add a 'kubeadm upgrade node config' command and finish up the kubelet integration work 2018-06-06 23:17:04 +03:00
interrupt update BUILD files 2017-10-15 18:18:13 -07:00
io Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
ipconfig Move from glog to klog 2018-11-10 07:50:31 -05:00
ipset Move from glog to klog 2018-11-10 07:50:31 -05:00
iptables Move from glog to klog 2018-11-10 07:50:31 -05:00
ipvs Move from glog to klog 2018-11-10 07:50:31 -05:00
keymutex Move from glog to klog 2018-11-10 07:50:31 -05:00
labels Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
maps update BUILD files 2017-10-15 18:18:13 -07:00
metrics pkg/util/metrics: idem-potent registration of RateLimiterMetric and never cleanup 2018-08-17 09:15:33 +02:00
mount Move from glog to klog 2018-11-10 07:50:31 -05:00
net Auto-updated BUILD files 2018-02-27 11:18:11 -08:00
netsh Move from glog to klog 2018-11-10 07:50:31 -05:00
node Move from glog to klog 2018-11-10 07:50:31 -05:00
normalizer Clone documentation utility from //pkg/kubectl/cmd/templates 2017-11-16 10:18:00 +01:00
nsenter Move from glog to klog 2018-11-10 07:50:31 -05:00
oom Move from glog to klog 2018-11-10 07:50:31 -05:00
parsers Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
pod Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
procfs Move from glog to klog 2018-11-10 07:50:31 -05:00
reflector/prometheus Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
removeall Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
resizefs Move from glog to klog 2018-11-10 07:50:31 -05:00
resourcecontainer fix golint for /pkg/util/ipconfig and /pkg/util/resourcecontainer-2 2018-10-26 23:58:30 +08:00
rlimit Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
selinux Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
slice Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
strings fix golint for some of pkg/util 2018-10-17 10:11:49 +08:00
sysctl update BUILD files 2017-10-15 18:18:13 -07:00
system Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
tail Merge pull request #59713 from hanxiaoshuai/fix0211 2018-02-22 23:17:38 -08:00
taints Merge pull request #68771 from liyongxin/master 2018-11-03 16:50:28 -07:00
tolerations Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
workqueue/prometheus fixup! add longest_running_processor_microseconds metric 2018-11-12 21:57:57 -08:00
BUILD clean all unused packages under pkg/util 2018-10-15 09:54:08 +08:00
verify-util-pkg.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00