diff --git a/networking/v1alpha3/destination_rule.pb.go b/networking/v1alpha3/destination_rule.pb.go index f8cfbae2587..33bdf76d871 100644 --- a/networking/v1alpha3/destination_rule.pb.go +++ b/networking/v1alpha3/destination_rule.pb.go @@ -99,6 +99,14 @@ // The following example shows how a destination rule can be applied to a // specific workload using the workloadSelector configuration. // +// **Note:** The workloadSelector configuration in +// destination rule controls which client workloads +// use this destination rule, rather than controlling +// which servers are selected as traffic endpoints. +// Different from workloadSelectors, +// [Subsets](https://istio.io/latest/docs/reference/config/networking/destination-rule/#Subset) +// define fine-grained groups of endpoints for a service. +// // ```yaml // apiVersion: networking.istio.io/v1beta1 // kind: DestinationRule diff --git a/networking/v1alpha3/destination_rule.pb.html b/networking/v1alpha3/destination_rule.pb.html index 1105a0000c5..5c87f89cb81 100644 --- a/networking/v1alpha3/destination_rule.pb.html +++ b/networking/v1alpha3/destination_rule.pb.html @@ -72,6 +72,13 @@
Destination Rules can be customized to specific workloads as well. The following example shows how a destination rule can be applied to a specific workload using the workloadSelector configuration.
+Note: The workloadSelector configuration in +destination rule controls which client workloads +use this destination rule, rather than controlling +which servers are selected as traffic endpoints. +Different from workloadSelectors, +Subsets +define fine-grained groups of endpoints for a service.
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
diff --git a/networking/v1alpha3/destination_rule.proto b/networking/v1alpha3/destination_rule.proto
index 447d2601e71..98489682c90 100644
--- a/networking/v1alpha3/destination_rule.proto
+++ b/networking/v1alpha3/destination_rule.proto
@@ -100,6 +100,14 @@ import "type/v1beta1/selector.proto";
// The following example shows how a destination rule can be applied to a
// specific workload using the workloadSelector configuration.
//
+// **Note:** The workloadSelector configuration in
+// destination rule controls which client workloads
+// use this destination rule, rather than controlling
+// which servers are selected as traffic endpoints.
+// Different from workloadSelectors,
+// [Subsets](https://istio.io/latest/docs/reference/config/networking/destination-rule/#Subset)
+// define fine-grained groups of endpoints for a service.
+//
// ```yaml
// apiVersion: networking.istio.io/v1beta1
// kind: DestinationRule