kubernetes/pkg/proxy
Dan Winship 3948f16ff4 Add iptables.Monitor, use it from kubelet and kube-proxy
Kubelet and kube-proxy both had loops to ensure that their iptables
rules didn't get deleted, by repeatedly recreating them. But on
systems with lots of iptables rules (ie, thousands of services), this
can be very slow (and thus might end up holding the iptables lock for
several seconds, blocking other operations, etc).

The specific threat that they need to worry about is
firewall-management commands that flush *all* dynamic iptables rules.
So add a new iptables.Monitor() function that handles this by creating
iptables-flush canaries and only triggering a full rule reload after
noticing that someone has deleted those chains.
2019-09-17 10:19:26 -04:00
..
apis Update kubeproxy config validation to support list of comma 2019-08-09 07:20:39 -07:00
config Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers 2019-08-29 01:06:52 -07:00
healthcheck pkg/proxy: add sig-network-approvers/sig-network-reviewers to OWNERS files 2019-05-13 10:30:29 -05:00
iptables Add iptables.Monitor, use it from kubelet and kube-proxy 2019-09-17 10:19:26 -04:00
ipvs Merge pull request #82289 from robscott/endpointslice-fixes 2019-09-05 09:03:10 -07:00
metrics group imports properly 2019-08-28 12:49:54 -07:00
userspace Remove unused func IsProxyLocked 2019-09-04 10:36:24 +08:00
util move ShuffleStrings to pkg/proxy 2019-08-21 20:03:53 +01:00
winkernel Merge pull request #81430 from robscott/endpointslice-proxy 2019-08-29 15:36:44 -07:00
winuserspace Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers 2019-08-29 01:06:52 -07:00
BUILD Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers 2019-08-29 01:06:52 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
endpoints_test.go Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers 2019-08-29 01:06:52 -07:00
endpoints.go Merge pull request #82317 from viviyww/master11 2019-09-11 15:25:39 -07:00
endpointslicecache_test.go Adding a nil check in endpointslicecache 2019-09-05 17:32:44 -07:00
endpointslicecache.go Merge pull request #82317 from viviyww/master11 2019-09-11 15:25:39 -07:00
OWNERS pkg/proxy: add sig-network-approvers/sig-network-reviewers to OWNERS files 2019-05-13 10:30:29 -05:00
service_test.go Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers 2019-08-29 01:06:52 -07:00
service.go enforce the interface relationship between ServicePort and BaseServiceInfo 2019-06-05 14:50:24 -04:00
types.go Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers 2019-08-29 01:06:52 -07:00