kubernetes/cmd/kube-proxy/app
Rob Scott 47b2593d59
Creating new EndpointSliceProxying feature gate for kube-proxy
This creates a new EndpointSliceProxying feature gate to cover EndpointSlice
consumption (kube-proxy) and allow the existing EndpointSlice feature gate to
focus on EndpointSlice production only. Along with that addition, this enables
the EndpointSlice feature gate by default, now only affecting the controller.

The rationale here is that it's really difficult to guarantee all EndpointSlices
are created in a cluster upgrade process before kube-proxy attempts to consume
them. Although masters are generally upgraded before nodes, and in most cases,
the controller would have enough time to create EndpointSlices before a new node
with kube-proxy spun up, there are plenty of edge cases where that might not be
the case. The primary limitation on EndpointSlice creation is the API rate limit
of 20QPS. In clusters with a lot of endpoints and/or with a lot of other API
requests, it could be difficult to create all the EndpointSlices before a new
node with kube-proxy targeting EndpointSlices spun up.

Separating this into 2 feature gates allows for a more gradual rollout with the
EndpointSlice controller being enabled by default in 1.18, and EndpointSlices
for kube-proxy being enabled by default in the next release.
2020-01-17 16:17:40 -08:00
..
BUILD Deal with auto-generated files: 2019-12-17 21:46:41 +08:00
conntrack.go Remove pkg/util/mount (moved out of tree) 2019-11-15 08:29:12 -07:00
init_others.go Add support for binaries to run as Windows services 2018-03-07 00:51:36 +01:00
init_windows.go Add Windows flags for KubeProxyConfiguration 2019-02-05 10:39:23 -08:00
server_others_test.go kube-proxy: drop iptables version check 2019-08-01 12:05:31 -04:00
server_others.go Creating new EndpointSliceProxying feature gate for kube-proxy 2020-01-17 16:17:40 -08:00
server_test.go Add lenient decoding path for v1alpha1 kube-proxy 2019-10-30 01:26:27 -04:00
server_windows.go Add show hidden flag to kube-proxy 2019-12-17 21:46:41 +08:00
server.go Merge pull request #85279 from RainbowMango/pr_add_metrics_flag_to_proxy 2019-12-18 00:57:57 -08:00