Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 165 for localisty (0.15 sec)

  1. pilot/pkg/xds/endpoints/endpoint_builder.go

    		if eep == nil {
    			continue
    		}
    		locLbEps, found := localityEpMap[ep.Locality.Label]
    		if !found {
    			locLbEps = &LocalityEndpoints{
    				llbEndpoints: endpoint.LocalityLbEndpoints{
    					Locality:    util.ConvertLocality(ep.Locality.Label),
    					LbEndpoints: make([]*endpoint.LbEndpoint, 0, len(eps)),
    				},
    			}
    			localityEpMap[ep.Locality.Label] = locLbEps
    		}
    		locLbEps.append(ep, eep)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. pkg/bootstrap/config.go

    		} else {
    			log.Warnf("failed to read pod annotations: %v", err)
    		}
    	}
    
    	var l *core.Locality
    	if meta.Labels[model.LocalityLabel] == "" && options.Platform != nil {
    		// The locality string was not set, try to get locality from platform
    		l = options.Platform.Locality()
    	} else {
    		// replace "." with "/"
    		localityString := model.GetLocalityLabel(meta.Labels[model.LocalityLabel])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/model/service_test.go

    			Labels:          labels.Instance{"app": "prod-app"},
    			Address:         "an-address",
    			ServicePortName: "service-port-name",
    			ServiceAccount:  "service-account",
    			Network:         "Network",
    			Locality: Locality{
    				ClusterID: "cluster-id",
    				Label:     "region1/zone1/subzone1",
    			},
    			EndpointPort: 22,
    			LbWeight:     100,
    			TLSMode:      "mutual",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. pkg/istio-agent/testdata/grpc-bootstrap.json

        "metadata": {
          "GENERATOR": "grpc",
          "INSTANCE_IPS": "127.0.0.1",
          "ISTIO_VERSION": "version",
          "PILOT_SAN": [
            "istiod.istio-system.svc"
          ]
        },
        "locality": {},
        "UserAgentVersionType": null
      },
      "certificate_providers": {
        "default": {
          "plugin_name": "file_watcher",
          "config": {
            "certificate_file": "/cert/path/cert-chain.pem",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 957 bytes
    - Viewed (0)
  5. pkg/kubelet/cm/topologymanager/topology_manager.go

    // achieve globally optimal concrete resource alignment with respect to
    // NUMA locality.
    type HintProvider interface {
    	// GetTopologyHints returns a map of resource names to a list of possible
    	// concrete resource allocations in terms of NUMA locality hints. Each hint
    	// is optionally marked "preferred" and indicates the set of NUMA nodes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 12:43:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. pkg/bootstrap/platform/gcp.go

    	m := re.FindStringSubmatch(z)
    	if len(m) != 2 {
    		return "", fmt.Errorf("unable to extract region from GCP zone: %s", z)
    	}
    	return m[1], nil
    }
    
    // Locality returns the GCP-specific region and zone.
    func (e *gcpEnv) Locality() *core.Locality {
    	var l core.Locality
    	loc := e.Metadata()[GCPLocation]
    	if loc == "" {
    		log.Warnf("Error fetching GCP zone: %v", loc)
    		return &l
    	}
    	r, err := zoneToRegion(loc)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_traffic_policy.go

    			LocalityWeightedLbConfig: &cluster.Cluster_CommonLbConfig_LocalityWeightedLbConfig{},
    		}
    	}
    	// Use locality lb settings from load balancer settings if present, else use mesh wide locality lb settings
    	applyLocalityLoadBalancer(locality, proxyLabels, c, localityLbSetting)
    
    	if c.GetType() == cluster.Cluster_ORIGINAL_DST {
    		c.LbPolicy = cluster.Cluster_CLUSTER_PROVIDED
    		return
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. pkg/bootstrap/platform/aws.go

    	}
    	if len(a.region) > 0 {
    		md[AWSRegion] = a.region
    	}
    	if len(a.instanceID) > 0 {
    		md[AWSInstanceID] = a.instanceID
    	}
    	return md
    }
    
    func (a *awsEnv) Locality() *core.Locality {
    	return &core.Locality{
    		Zone:   a.availabilityZone,
    		Region: a.region,
    	}
    }
    
    func (a *awsEnv) Labels() map[string]string {
    	return map[string]string{}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. pkg/workloadapi/workload.pb.go

    	ClusterId string `protobuf:"bytes,18,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
    	// The Locality defines information about where a workload is geographically deployed
    	Locality *Locality `protobuf:"bytes,24,opt,name=locality,proto3" json:"locality,omitempty"`
    }
    
    func (x *Workload) Reset() {
    	*x = Workload{}
    	if protoimpl.UnsafeEnabled {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. pkg/log/zapcore_handler.go

    	zapcore.WarnLevel:  WarnLevel,
    	zapcore.InfoLevel:  InfoLevel,
    	zapcore.DebugLevel: DebugLevel,
    }
    
    // callerSkipOffset is how many callers to pop off the stack to determine the caller function locality, used for
    // adding file/line number to log output.
    const callerSkipOffset = 3
    
    func dumpStack(level zapcore.Level, scope *Scope) bool {
    	thresh := toLevel[level]
    	if scope != defaultScope {
    		thresh = ErrorLevel
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 01:05:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top