Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 177 for localisty (0.91 sec)

  1. tests/integration/pilot/locality_test.go

    kind: ServiceEntry
    metadata:
      name: external-service-locality
    spec:
      hosts:
      - {{.Host}}
      location: MESH_EXTERNAL
      ports:
      - name: http
        number: 80
        protocol: HTTP
      resolution: {{.Resolution}}
      endpoints:
      - address: {{.Local}}
        locality: region/zone/subzone
      - address: {{.Remote}}
        locality: notregion/notzone/notsubzone
      {{ if ne .NearLocal "" }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/configdump.json

                            "cluster_name": "sds-grpc",
                            "endpoints": [
                                {
                                    "locality": {},
                                    "lb_endpoints": [
                                        {
                                            "endpoint": {
                                                "address": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 66K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_cache.go

    // Implements XdsCacheEntry interface.
    type clusterCache struct {
    	clusterName string
    
    	// proxy related cache fields
    	proxyVersion    string         // will be matched by envoyfilter patches
    	locality        *core.Locality // identifies the locality the cluster is generated for
    	proxyClusterID  string         // identifies the kubernetes cluster a proxy is in
    	proxySidecar    bool           // identifies if this proxy is a Sidecar
    	hbone           bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/mesh/mesh.go

    	m.nodes.ShutDown()
    }
    
    func (m *Instance) NewNodes(count int, serviceTime time.Duration, enableQueueLatency bool, locality locality.Instance) Nodes {
    	out := make(Nodes, 0, count)
    	for i := 0; i < count; i++ {
    		name := fmt.Sprintf("%s_%d", locality, i)
    		out = append(out, newNode(name, serviceTime, enableQueueLatency, locality))
    	}
    
    	m.nodes = append(m.nodes, out...)
    
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. pkg/bootstrap/platform/platform.go

    type Unknown struct{}
    
    // Metadata returns an empty map.
    func (*Unknown) Metadata() map[string]string {
    	return map[string]string{}
    }
    
    // Locality returns an empty core.Locality struct.
    func (*Unknown) Locality() *core.Locality {
    	return &core.Locality{}
    }
    
    // Labels returns an empty map.
    func (*Unknown) Labels() map[string]string {
    	return map[string]string{}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 07 20:19:01 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. pkg/test/loadbalancersim/loadbalancer/priority.go

    type PrioritySelector func(src *mesh2.Client, dest *mesh2.Node) uint32
    
    func LocalityPrioritySelector(src *mesh2.Client, dest *mesh2.Node) uint32 {
    	priority := uint32(2)
    	if src.Locality().Region == dest.Locality().Region {
    		priority = 1
    		if src.Locality().Zone == dest.Locality().Zone {
    			priority = 0
    		}
    	}
    	return priority
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 1017 bytes
    - Viewed (0)
  7. releasenotes/notes/45413.yaml

    L1:apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    
    issue:
      - 45413
    
    releaseNotes:
      - |
        **Fixed** VirtualMachine Workloadentry auto register failed with invalid `istio-locality` label when user specify `istio-locality` in ./etc/istio/pod/labels....
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 10:19:36 UTC 2023
    - 268 bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/util/label/label.go

    	}
    	if len(networkID) > 0 {
    		out[label.TopologyNetwork.Name] = networkID.String()
    	}
    	return out
    }
    
    // SplitLocalityLabel splits a locality label into region, zone and subzone strings.
    func SplitLocalityLabel(locality string) (region, zone, subzone string) {
    	items := strings.Split(locality, "/")
    	switch len(items) {
    	case 1:
    		return items[0], "", ""
    	case 2:
    		return items[0], items[1], ""
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 03:56:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/endpoints/ep_filters.go

    	// iterating so that it can be used as the weight for the gateway endpoint
    	for _, ep := range endpoints {
    		lbEndpoints := &LocalityEndpoints{
    			llbEndpoints: endpoint.LocalityLbEndpoints{
    				Locality: ep.llbEndpoints.Locality,
    				Priority: ep.llbEndpoints.Priority,
    				// Endpoints and weight will be reset below.
    			},
    		}
    
    		// Create a map to keep track of the gateways used and their aggregate weights.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. pkg/test/loadbalancersim/mesh/client.go

    	"istio.io/istio/pkg/test/loadbalancersim/locality"
    	"istio.io/istio/pkg/test/loadbalancersim/network"
    )
    
    type ClientSettings struct {
    	RPS      int
    	Locality locality.Instance
    }
    
    type Client struct {
    	mesh *Instance
    	s    ClientSettings
    }
    
    func (c *Client) Mesh() *Instance {
    	return c.mesh
    }
    
    func (c *Client) Locality() locality.Instance {
    	return c.s.Locality
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top