- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for sub_zoneC (0.14 sec)
-
pkg/bootstrap/platform/gcp.go
return &l } r, err := zoneToRegion(loc) if err != nil { log.Warnf("Error fetching GCP region: %v", err) return &l } return &core.Locality{ Region: r, Zone: loc, SubZone: "", // GCP has no subzone concept } } const ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly" // Labels attempts to retrieve the GCE instance labels within the timeout
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 00:37:33 UTC 2023 - 11.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
p := basePod.DeepCopy() p.Labels[model.LocalityLabel] = "r.z.s" return p }(), node: baseNode, expected: &core.Locality{ Region: "r", Zone: "z", SubZone: "s", }, }, { name: "node specific label", pod: basePod, node: func() *v1.Node { p := baseNode.DeepCopy() p.Labels[kubecontroller.NodeRegionLabelGA] = "r"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
pkg/workloadapi/workload.pb.go
Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` Subzone string `protobuf:"bytes,3,opt,name=subzone,proto3" json:"subzone,omitempty"` } func (x *Locality) Reset() { *x = Locality{} if protoimpl.UnsafeEnabled { mi := &file_workloadapi_workload_proto_msgTypes[4]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:35 UTC 2024 - 65.9K 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) -
pilot/pkg/networking/util/util.go
func LocalityToString(l *core.Locality) string { if l == nil { return "" } resp := l.Region if l.Zone == "" { return resp } resp += "/" + l.Zone if l.SubZone == "" { return resp } resp += "/" + l.SubZone return resp } // GetFailoverPriorityLabels returns a byte array which contains failover priorities of the proxy.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller.go
zone := getLabelValue(node.ObjectMeta, NodeZoneLabelGA, NodeZoneLabel) subzone := getLabelValue(node.ObjectMeta, label.TopologySubzone.Name, "") if region == "" && zone == "" && subzone == "" { return "" } return region + "/" + zone + "/" + subzone // Format: "%s/%s/%s" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 41.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/common/deployment/echos.go
a := echo.Config{ Service: ASvc, ServiceAccount: true, Ports: ports.All(), Subsets: []echo.SubsetConfig{{}}, Locality: "region.zone.subzone", IncludeExtAuthz: c.IncludeExtAuthz, DisableAutomountSAToken: disableAutomountSAToken, } b := echo.Config{ Service: BSvc, ServiceAccount: true, Ports: ports.All(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 20 16:01:31 UTC 2024 - 16K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller.go
// the workload entry. if proxy.Metadata.Labels != nil { entry.Labels = mergeLabels(entry.Labels, proxy.Metadata.Labels) // the label has been converted to "istio-locality: region/zone/subzone" // in pilot/pkg/xds/ads.go, and `/` is not allowed in k8s label value. // Instead of converting again, we delete it since has set WorkloadEntry.Locality delete(entry.Labels, model.LocalityLabel) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 26.4K bytes - Viewed (0) -
pilot/pkg/model/service.go
return "DNSRoundRobin" case Passthrough: return "Passthrough" default: return fmt.Sprintf("%d", int(resolution)) } } const ( // LocalityLabel indicates the region/zone/subzone of an instance. It is used to override the native // registry's value. // // Note: because k8s labels does not support `/`, so we use `.` instead in k8s. LocalityLabel = pm.LocalityLabel ) const (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0)