kubernetes/pkg/proxy
Dan Winship 229ae58520 proxy/iptables: fix all-vs-ready endpoints a bit
Filter the allEndpoints list into readyEndpoints sooner, and set
"hasEndpoints" based (mostly) on readyEndpoints, not allEndpoints (so
that, eg, we correctly generate REJECT rules for services with no
_functioning_ endpoints, even if they have unusable terminating
endpoints).

Also, write out the endpoint chains at the top of the loop when we
iterate the endpoints for the first time, rather than copying some of
the data to another set of variables and then writing them out later.
And don't write out endpoint chains that won't be used

Also, generate affinity rules only for readyEndpoints rather than
allEndpoints, so affinity gets broken correctly when an endpoint
becomes unready.
2021-11-04 16:32:08 -04:00
..
apis move IPv6DualStack feature to stable. (#104691) 2021-09-24 16:30:22 -07:00
config rebuild msg and rename namespace 2021-09-20 19:04:21 +08:00
healthcheck Migrated proxier_health.go , proxier.go to structured logging (#105767) 2021-10-21 10:17:48 -07:00
iptables proxy/iptables: fix all-vs-ready endpoints a bit 2021-11-04 16:32:08 -04:00
ipvs Migrated ipvs/proxier.go(remaining) to structured logging (#105770) 2021-10-21 08:41:57 -07:00
metaproxier Migrate cmd/proxy/app and pkg/proxy/meta_proxier to structured logging (#104928) 2021-09-14 20:50:40 -07:00
metrics kube-proxy iptables expose number of rules metrics 2021-03-05 10:00:38 +01:00
userspace Migrated pkg/proxy/userspace to structured logging (#104931) 2021-09-13 10:46:18 -07:00
util mute unnecessary logs 2021-09-23 20:52:18 +00:00
winkernel Migrated proxier_health.go , proxier.go to structured logging (#105767) 2021-10-21 10:17:48 -07:00
winuserspace Migrated pkg/proxy/winuserspace to structured logging (#105035) 2021-09-16 11:36:02 -07:00
doc.go
endpoints_test.go Graduate EndpointSliceProxying and WindowsEndpointSliceProxying Gates 2021-07-07 13:33:30 -07:00
endpoints.go Migrated pkg/proxy to structured logging (#104891) 2021-10-14 09:47:17 -07:00
endpointslicecache_test.go Kubeproxy uses V1 EndpointSlice 2021-06-30 18:41:57 -07:00
endpointslicecache.go Migrated pkg/proxy to structured logging (#104891) 2021-10-14 09:47:17 -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 run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00
service.go Migrated pkg/proxy to structured logging (#104891) 2021-10-14 09:47:17 -07:00
topology_test.go Graduate EndpointSliceProxying and WindowsEndpointSliceProxying Gates 2021-07-07 13:33:30 -07:00
topology.go Migrated pkg/proxy to structured logging (#104891) 2021-10-14 09:47:17 -07:00
types.go Drop broken/no-op proxyconfig.EndpointsHandler implementations 2021-09-13 09:32:38 -04:00