@@ -107,6 +107,8 @@ tags, and then generate with `hack/update-toc.sh`.
107
107
- [ Service Port] ( #service-port )
108
108
- [ Headlessness] ( #headlessness )
109
109
- [ Session Affinity] ( #session-affinity )
110
+ - [ Internal Traffic Policy] ( #internal-traffic-policy )
111
+ - [ Traffic Distribution] ( #traffic-distribution )
110
112
- [ Labels and Annotations] ( #labels-and-annotations )
111
113
- [ Test Plan] ( #test-plan )
112
114
- [ Graduation Criteria] ( #graduation-criteria )
@@ -575,6 +577,10 @@ type ServiceImportSpec struct {
575
577
SessionAffinity corev1.ServiceAffinity `json:"sessionAffinity"`
576
578
// +optional
577
579
SessionAffinityConfig *corev1.SessionAffinityConfig `json:"sessionAffinityConfig"`
580
+ // +optional
581
+ InternalTrafficPolicy *corev1.ServiceInternalTrafficPolicy `json:"internalTrafficPolicy,omitempty"`
582
+ // +optional
583
+ TrafficDistribution *string `json:"trafficDistribution,omitempty"`
578
584
}
579
585
580
586
// 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
1026
1032
service's session affinity will be decided according to the conflict resolution
1027
1033
policy.
1028
1034
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
+
1029
1047
# ### Labels and Annotations
1030
1048
1031
1049
If supported, exporting labels and annotations would affect a `Service` as a whole
0 commit comments