@@ -107,6 +107,8 @@ tags, and then generate with `hack/update-toc.sh`.
107107 - [ Service Port] ( #service-port )
108108 - [ Headlessness] ( #headlessness )
109109 - [ Session Affinity] ( #session-affinity )
110+ - [ Internal Traffic Policy] ( #internal-traffic-policy )
111+ - [ Traffic Distribution] ( #traffic-distribution )
110112 - [ Labels and Annotations] ( #labels-and-annotations )
111113 - [ Test Plan] ( #test-plan )
112114 - [ Graduation Criteria] ( #graduation-criteria )
@@ -575,6 +577,10 @@ type ServiceImportSpec struct {
575577 SessionAffinity corev1.ServiceAffinity `json:"sessionAffinity"`
576578 // +optional
577579 SessionAffinityConfig *corev1.SessionAffinityConfig `json:"sessionAffinityConfig"`
580+ // +optional
581+ InternalTrafficPolicy *corev1.ServiceInternalTrafficPolicy `json:"internalTrafficPolicy,omitempty"`
582+ // +optional
583+ TrafficDistribution *string `json:"trafficDistribution,omitempty"`
578584}
579585
580586// ServicePort represents the port on which the service is exposed
@@ -1026,6 +1032,18 @@ Session affinity affects a service as a whole for a given consumer. The derived
10261032service's session affinity will be decided according to the conflict resolution
10271033policy.
10281034
1035+ # ### Internal Traffic Policy
1036+
1037+ Internal traffic policy affects a service as a whole for a given consumer. The derived
1038+ service's internal traffic policy will be decided according to the conflict resolution
1039+ policy.
1040+
1041+ # ### Traffic Distribution
1042+
1043+ Traffic distribution affects a service as a whole for a given consumer. The derived
1044+ service's traffic distribution will be decided according to the conflict resolution
1045+ policy.
1046+
10291047# ### Labels and Annotations
10301048
10311049If supported, exporting labels and annotations would affect a `Service` as a whole
0 commit comments