- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetWorkloadSelector (0.19 sec)
-
pilot/pkg/networking/core/cluster_builder.go
opts.policy = util.MergeSubsetTrafficPolicy(opts.policy, subset.TrafficPolicy, opts.port) if destRule != nil { destinationRule := CastDestinationRule(destRule) opts.isDrWithSelector = destinationRule.GetWorkloadSelector() != nil } // Apply traffic policy for the subset cluster. cb.applyTrafficPolicy(opts) maybeApplyEdsConfig(subsetCluster.cluster) cb.applyMetadataExchange(opts.mutable.cluster)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
if sc.Namespace == destRule.rule.Namespace && destinationRule.GetWorkloadSelector() != nil && direction == TrafficDirectionOutbound { workloadSelector := labels.Instance(destinationRule.GetWorkloadSelector().GetMatchLabels()) // return destination rule if workload selector matches if workloadSelector.SubsetOf(proxy.Labels) { return destRule }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0)