- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for SubZone (0.11 sec)
-
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
Zone: "zone", }, }, { name: "locality with region zone and subzone", locality: "region/zone/subzone", want: &core.Locality{ Region: "region", Zone: "zone", SubZone: "subzone", }, }, { name: "locality with region zone subzone and rack", locality: "region/zone/subzone/rack", want: &core.Locality{ Region: "region", Zone: "zone",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
subzone := node.GetLabels()[label.TopologySubzone.Name] if region == "" && zone == "" && subzone == "" { return nil } return &workloadapi.Locality{ Region: region, Zone: zone, Subzone: subzone, } } func getWorkloadEntryLocality(p *networkingv1alpha3.WorkloadEntry) *workloadapi.Locality { region, zone, subzone := labelutil.SplitLocalityLabel(p.GetLocality())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/config/validation/agent/validation.go
} if regionZoneSubZoneMap[region][zone][subZone] { return fmt.Errorf("locality %s overlap with previous specified ones", locality) } regionZoneSubZoneMap[region][zone][subZone] = true } else { regionZoneSubZoneMap[region][zone] = map[string]bool{subZone: true} } } else { regionZoneSubZoneMap[region] = map[string]map[string]bool{zone: {subZone: true}} } } } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 30.9K bytes - Viewed (0) -
pkg/model/proxy.go
func ConvertLocality(locality string) *core.Locality { if locality == "" { return &core.Locality{} } region, zone, subzone := label.SplitLocalityLabel(locality) return &core.Locality{ Region: region, Zone: zone, SubZone: subzone, } } // ALPNH2Only advertises that Proxy is going to use HTTP/2 when talking to the cluster. var ALPNH2Only = []string{"h2"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 17:18:17 UTC 2024 - 18.7K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer.go
if loadAssignment.Endpoints[i] != nil { loadAssignment.Endpoints[i].LbEndpoints = nil } } break } } } // set locality loadbalancing priority - This is based on Region/Zone/SubZone matching. func applyLocalityFailover( locality *core.Locality, loadAssignment *endpoint.ClusterLoadAssignment, failover []*v1alpha3.LocalityLoadBalancerSetting_Failover, ) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/workloadapi/workload.proto
message LoadBalancing { enum Scope { UNSPECIFIED_SCOPE = 0; // Prefer traffic in the same region. REGION = 1; // Prefer traffic in the same zone. ZONE = 2; // Prefer traffic in the same subzone. SUBZONE = 3; // Prefer traffic on the same node. NODE = 4; // Prefer traffic in the same cluster. CLUSTER = 5; // Prefer traffic in the same network. NETWORK = 6; } enum Mode {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:35 UTC 2024 - 12.9K bytes - Viewed (0) -
pilot/pkg/xds/ads.go
ls, f := proxy.Labels[model.LocalityLabel] if f { return util.ConvertLocality(ls) } return nil } return &core.Locality{ Region: region, Zone: zone, SubZone: subzone, } } // initializeProxy completes the initialization of a proxy. It is expected to be called only after // initProxyMetadata. func (s *DiscoveryServer) initializeProxy(con *Connection) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/config/validation/agent/validation_test.go
localities: []string{"a/b", "a/b/c"}, valid: false, }, { name: "explicit wildcard subzone overlap", localities: []string{"a/b/*", "a/b/c"}, valid: false, }, { name: "implicit wildcard subzone overlap", localities: []string{"a/b", "a/b/c"}, valid: false, }, { name: "valid localities",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 39.1K bytes - Viewed (0) -
pkg/bootstrap/config.go
runtimeFlags[k] = v } } return runtimeFlags } func getLocalityOptions(l *core.Locality) []option.Instance { return []option.Instance{option.Region(l.Region), option.Zone(l.Zone), option.SubZone(l.SubZone)} } func getServiceCluster(metadata *model.BootstrapNodeMetadata) string { switch name := metadata.ProxyConfig.ClusterName.(type) { case *meshAPI.ProxyConfig_ServiceCluster:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 27.6K bytes - Viewed (0)