- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetWorkloadLabels (0.16 sec)
-
pilot/pkg/xds/ads.go
proxy.ConfigNamespace = model.GetProxyConfigNamespace(proxy) proxy.XdsNode = node return proxy, nil } // setTopologyLabels sets locality, cluster, network label // must be called after `SetWorkloadLabels` and `SetServiceTargets`. func setTopologyLabels(proxy *model.Proxy) { // This is a bit un-intuitive, but pull the locality from Labels first. The service registries have the best access to
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 23.4K bytes - Viewed (0) -
pilot/pkg/model/context.go
} return true }) node.ServiceTargets = instances } // SetWorkloadLabels will set the node.Labels. // It merges both node meta labels and workload labels and give preference to workload labels. func (node *Proxy) SetWorkloadLabels(env *Environment) { // If this is VM proxy, do not override labels at all, because in istio test we use pod to simulate VM. if node.IsVM() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (1)