kubernetes/pkg/registry/core/service
Quan Tian 2b69daa960 Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs
When defining a ClusterIP Service, we can specify externalIP, and the
traffic policy of externalIP is subject to externalTrafficPolicy.
However, the policy can't be set when type is not NodePort or
LoadBalancer, and will default to Cluster when kube-proxy processes the
Service.

This commit updates the defaulting and validation of Service to allow
specifying ExternalTrafficPolicy for ClusterIP Services with
ExternalIPs.

Signed-off-by: Quan Tian <qtian@vmware.com>
2023-08-30 23:56:47 +08:00
..
allocator storage/factory: extend the Create method by newList and resourcePrefix params 2023-08-24 11:23:05 +02:00
ipallocator storage/factory: extend the Create method by newList and resourcePrefix params 2023-08-24 11:23:05 +02:00
portallocator storage/factory: extend the Create method by newList and resourcePrefix params 2023-08-24 11:23:05 +02:00
storage Add IP mode field 2023-08-14 11:24:49 +08:00
doc.go
OWNERS add aojea as approver for networking APIs: services/allocators, networking group, ... 2023-01-29 00:10:06 +00:00
proxy.go Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
strategy_test.go Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs 2023-08-30 23:56:47 +08:00
strategy.go Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs 2023-08-30 23:56:47 +08:00