kubernetes/pkg/proxy
Antonio Ojea a38b9363ec kube-proxy handle node PodCIDR changs
Kube/proxy, in NodeCIDR local detector mode, uses the node.Spec.PodCIDRs
field to build the Services iptables rules.

The Node object depends on the kubelet, but if kube-proxy runs as a
static pods or as a standalone binary, it is not possible to guarantee
that the values obtained at bootsrap are valid, causing traffic outages.

Kube-proxy has to react on node changes to avoid this problems, it
simply restarts if detect that the node PodCIDRs have changed.

In case that the Node has been deleted, kube-proxy will only log an
error and keep working, since it may break graceful shutdowns of the
node.
2022-10-18 19:25:40 +00:00
..
apis Fixing words in the comment 2022-10-15 15:54:41 -03:00
config OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
healthcheck Fix outdated code comments of proxierHealthServer 2022-09-21 23:21:19 +08:00
iptables Merge pull request #111806 from danwinship/kube-proxy-no-mode-fallback 2022-08-24 05:52:03 -07:00
ipvs unit tests: Skip Windows-unrelated tests on Windows 2022-10-18 12:43:07 +03:00
metaproxier Migrate cmd/proxy/app and pkg/proxy/meta_proxier to structured logging (#104928) 2021-09-14 20:50:40 -07:00
metrics Add sync_proxy_rules_no_local_endpoints_total metric 2022-03-31 18:54:23 +00:00
util Fix: Add test cases for method IsZeroCIDR() in pkg/proxy/util/utils_test.go 2022-05-25 10:47:33 +08:00
winkernel added daschott to winkernel owners 2022-10-17 16:28:11 -07:00
doc.go
endpoints_test.go pkg/proxy: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-08-14 18:27:33 +03:00
endpoints.go Generate and format files 2022-07-26 13:14:05 -04:00
endpointslicecache_test.go pkg/proxy: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-08-14 18:27:33 +03:00
endpointslicecache.go proxy/iptables: fix up endpoint chain name computation 2022-03-18 16:10:33 -04:00
node_test.go kube-proxy handle node PodCIDR changs 2022-10-18 19:25:40 +00:00
node.go kube-proxy handle node PodCIDR changs 2022-10-18 19:25:40 +00:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
service_test.go run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00
service.go kube-proxy use debug log level for cache operations 2022-09-14 17:57:08 +02:00
topology_test.go kube-proxy: gate topology correctly 2022-10-18 19:25:40 +00:00
topology.go kube-proxy: gate topology correctly 2022-10-18 19:25:40 +00:00
types.go fix comments in pkg/proxy/types.go 2022-06-24 09:50:02 +08:00