kubernetes/pkg/proxy
Dan Winship b9bc0e5ac8 Ensure needFullSync is set at iptables proxy startup
The unit tests were broken with MinimizeIPTablesRestore enabled
because syncProxyRules() assumed that needFullSync would be set on the
first (post-setInitialized()) run, but the unit tests didn't ensure
that.

(In fact, there was a race condition in the real Proxier case as well;
theoretically syncProxyRules() could be run by the
BoundedFrequencyRunner after OnServiceSynced() called setInitialized()
but before it called forceSyncProxyRules(), thus causing the first
real sync to try to do a partial sync and fail. This is now fixed as
well.)
2023-01-18 10:50:12 -05:00
..
apis kube-proxy: add a flag to disables the allowing NodePort services to be accessed via localhost 2022-11-02 16:17:52 +08:00
config Drop unused EndpointsHandler / EndpointsConfig from pkg/proxy/config 2023-01-01 16:57:27 -05:00
healthcheck Do not log errors when ServiceHealthServer is closed normally 2022-12-29 17:11:29 +08:00
iptables Ensure needFullSync is set at iptables proxy startup 2023-01-18 10:50:12 -05:00
ipvs fix a typo in pkg/proxy/ipvs/proxier.go 2023-01-09 09:29:22 +08:00
metaproxier Migrate cmd/proxy/app and pkg/proxy/meta_proxier to structured logging (#104928) 2021-09-14 20:50:40 -07:00
metrics Merge pull request #110268 from danwinship/minimize-iptables-changes 2022-11-01 18:06:46 -07:00
util kube-proxy: add a flag to disables the allowing NodePort services to be accessed via localhost 2022-11-02 16:17:52 +08:00
winkernel Windows Kube-Proxy implementation for internal traffic policy. 2022-12-13 14:26:10 +05:30
doc.go
endpoints_test.go Drop unused Endpoints-only tracking code in kube-proxy 2023-01-03 09:03:49 -05:00
endpoints.go Drop unused Endpoints-only tracking code in kube-proxy 2023-01-03 09:03:49 -05: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: Don't rewrite chains that haven't changed 2022-09-26 16:30:42 -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 Drop unused Endpoints-only tracking code in kube-proxy 2023-01-03 09:03:49 -05:00
service.go Fix indentation/spacing in comments to render correctly in godoc 2022-12-17 23:27:38 -05:00
topology_test.go If applied, this commit will refactor variable names in kube-proxy 2022-11-03 03:45:57 +05:30
topology.go kube-proxy: gate topology correctly 2022-10-18 19:25:40 +00:00
types.go ServiceInternalTrafficPolicyType: s/Type// 2022-12-11 13:48:31 -08:00