kubernetes/pkg/apis/core
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
..
fuzzer Add fuzzer for PodStatus 2023-07-14 09:35:30 +08:00
helper Reduce duplication between helpers for checking featuregate 2023-07-17 15:34:45 -04:00
install lavalamp is taking a long break 2023-05-11 16:43:38 +00:00
pods Add status.hostIPs in ConvertDownwardAPIFieldLabel 2023-07-14 09:35:30 +08:00
v1 Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs 2023-08-30 23:56:47 +08:00
validation Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs 2023-08-30 23:56:47 +08:00
annotation_key_constants.go Introducing Topology Mode Annotation, Deprecating Topology Hints 2023-03-14 02:23:11 +00:00
doc.go Fix golint errors in pkg/apis/core (#82919) 2019-09-25 11:06:51 -07:00
json.go Fix golint errors in pkg/apis/core (#82919) 2019-09-25 11:06:51 -07:00
objectreference.go Fix golint errors in pkg/apis/core (#82919) 2019-09-25 11:06:51 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
register.go Switch ephemeralcontainers SR to Pod Kind 2021-04-13 13:36:48 +02:00
resource.go Downward API hugepages 2020-11-10 16:09:13 -05:00
taint_test.go make taint.ToString() consistent with the reverse parsing logic 2019-07-16 21:06:01 +08:00
taint.go Fix golint errors in pkg/apis/core (#82919) 2019-09-25 11:06:51 -07:00
toleration_test.go
toleration.go
types_test.go Add test for EphemeralContainerCommon struct tags 2021-10-19 23:01:07 -04:00
types.go Merge pull request #118493 from kerthcet/cleanup/pod-status-reason 2023-08-30 01:40:47 -07:00
zz_generated.deepcopy.go generated files 2023-08-21 17:07:43 +02:00