kubernetes/pkg/proxy/apis/config
Khaled Henidak (Kal) 6675eba3ef
dual stack services (#91824)
* api: structure change

* api: defaulting, conversion, and validation

* [FIX] validation: auto remove second ip/family when service changes to SingleStack

* [FIX] api: defaulting, conversion, and validation

* api-server: clusterIPs alloc, printers, storage and strategy

* [FIX] clusterIPs default on read

* alloc: auto remove second ip/family when service changes to SingleStack

* api-server: repair loop handling for clusterIPs

* api-server: force kubernetes default service into single stack

* api-server: tie dualstack feature flag with endpoint feature flag

* controller-manager: feature flag, endpoint, and endpointSlice controllers handling multi family service

* [FIX] controller-manager: feature flag, endpoint, and endpointSlicecontrollers handling multi family service

* kube-proxy: feature-flag, utils, proxier, and meta proxier

* [FIX] kubeproxy: call both proxier at the same time

* kubenet: remove forced pod IP sorting

* kubectl: modify describe to include ClusterIPs, IPFamilies, and IPFamilyPolicy

* e2e: fix tests that depends on IPFamily field AND add dual stack tests

* e2e: fix expected error message for ClusterIP immutability

* add integration tests for dualstack

the third phase of dual stack is a very complex change in the API,
basically it introduces Dual Stack services. Main changes are:

- It pluralizes the Service IPFamily field to IPFamilies,
and removes the singular field.
- It introduces a new field IPFamilyPolicyType that can take
3 values to express the "dual-stack(mad)ness" of the cluster:
SingleStack, PreferDualStack and RequireDualStack
- It pluralizes ClusterIP to ClusterIPs.

The goal is to add coverage to the services API operations,
taking into account the 6 different modes a cluster can have:

- single stack: IP4 or IPv6 (as of today)
- dual stack: IPv4 only, IPv6 only, IPv4 - IPv6, IPv6 - IPv4

* [FIX] add integration tests for dualstack

* generated data

* generated files

Co-authored-by: Antonio Ojea <aojea@redhat.com>
2020-10-26 13:15:59 -07:00
..
fuzzer Removed deprecated --resource-container flag from kube-proxy. 2019-06-16 08:36:42 -07:00
scheme kube-proxy iptables min-sync-period default 1sec 2020-07-07 11:23:00 +02:00
v1alpha1 proxy: Add tests for kube-proxy config defaulting 2020-10-02 12:39:46 -04:00
validation dual stack services (#91824) 2020-10-26 13:15:59 -07:00
BUILD Add tests for kubeproxyconfig 2019-11-16 23:34:39 +06:00
doc.go Standardize componentconfig code/comment patterns 2018-09-06 13:42:02 +03:00
OWNERS Merge pull request #72185 from dcbw/owners-label-sig-network 2019-02-08 10:36:16 -08:00
register_test.go Add tests for kubeproxyconfig 2019-11-16 23:34:39 +06:00
register.go Standardize componentconfig code/comment patterns 2018-09-06 13:42:02 +03:00
types.go kube-proxy: add '--bind-address-hard-fail' flag to treat failure to bind to a port as fatal 2020-04-02 13:13:10 +08:00
zz_generated.deepcopy.go support configuration of kube-proxy IPVS tcp,tcpfin,udp timeout 2019-12-17 04:35:08 -05:00