kubernetes/pkg/proxy
Dan Winship 53b24f4ddf Improve GetNodeAddresses unit test
Add names to the tests and use t.Run() (rather than having them just
be numbered, with number 9 mistakenly being used twice thus throwing
off all the later numbers...)

Remove unnecessary FakeNetwork element from the testCases struct since
it's always the same. Remove the expectedErr value since a non-nil
error is expected if and only if the returned set is nil, and there's
no reason to test the exact text of the error message.

Fix weird IPv6 subnet sizes.

Change the dual-stack tests to (a) actually have dual-stack interface
addrs, and (b) use a routable IPv6 address, not just localhost (given
that we never actually want to use IPv6 localhost for nodeports).
2023-01-21 14:25:08 -05:00
..
apis Ipvs: remove the scheduler validation 2023-01-06 19:42:13 +01: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 Validate single-stack --nodeport-addresses sooner 2023-01-03 09:01:45 -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 Improve GetNodeAddresses unit test 2023-01-21 14:25:08 -05:00
winkernel Windows Kube-Proxy implementation for internal traffic policy. 2022-12-13 14:26:10 +05:30
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
endpoints.go Drop unused Endpoints-only tracking code in kube-proxy 2023-01-03 09:03:49 -05:00
endpoints_test.go Drop unused Endpoints-only tracking code in kube-proxy 2023-01-03 09:03:49 -05:00
endpointslicecache.go proxy/iptables: Don't rewrite chains that haven't changed 2022-09-26 16:30:42 -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
node.go kube-proxy handle node PodCIDR changs 2022-10-18 19:25:40 +00:00
node_test.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.go Fix indentation/spacing in comments to render correctly in godoc 2022-12-17 23:27:38 -05:00
service_test.go Drop unused Endpoints-only tracking code in kube-proxy 2023-01-03 09:03:49 -05:00
topology.go kube-proxy: gate topology correctly 2022-10-18 19:25:40 +00:00
topology_test.go If applied, this commit will refactor variable names in kube-proxy 2022-11-03 03:45:57 +05:30
types.go ServiceInternalTrafficPolicyType: s/Type// 2022-12-11 13:48:31 -08:00