- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for localisty (0.13 sec)
-
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.json
[ { "clusterName": "agent", "endpoints": [ { "locality": {}, "lbEndpoints": [ { "endpoint": { "address": { "socketAddress": { "address": "127.0.0.1", "portValue": 15020 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 40.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.yaml
loadBalancingWeight: 3 locality: {} policy: overprovisioningFactor: 140 - clusterName: sds-grpc endpoints: - lbEndpoints: - endpoint: address: pipe: path: ./var/run/secrets/workload-spiffe-uds/socket healthCheckConfig: {} healthStatus: HEALTHY loadBalancingWeight: 1 locality: {} policy: overprovisioningFactor: 140
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 17.1K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
cluster := buildFakeCluster() ApplyLocalityLoadBalancer(cluster.LoadAssignment, nil, locality, nil, env.Mesh().LocalityLbSetting, true) for _, localityEndpoint := range cluster.LoadAssignment.Endpoints { if localityEndpoint.Locality.Region == locality.Region { if localityEndpoint.Locality.Zone == locality.Zone { if localityEndpoint.Locality.SubZone == locality.SubZone { g.Expect(localityEndpoint.Priority).To(Equal(uint32(0))) continue
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/core/loadbalancer/loadbalancer.go
applyLocalityFailover(locality, loadAssignment, localityLB.Failover) } } else { // Apply default failover settings or user defined region failover settings. applyLocalityFailover(locality, loadAssignment, localityLB.Failover) } } } // set locality loadbalancing weight based on user defined weights. func applyLocalityWeights( locality *core.Locality, loadAssignment *endpoint.ClusterLoadAssignment,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 11.8K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
pkg/test/loadbalancersim/lb_test.go
} wg.Wait() c := s.mesh.Clients()[0] clientLocality := c.Locality() clientLatency := clientLatencies[0] nodesSameZone := s.mesh.Nodes().Select(locality.MatchZone(clientLocality)) nodesSameRegion := s.mesh.Nodes().Select(locality.MatchOtherZoneInSameRegion(clientLocality)) nodesOtherRegion := s.mesh.Nodes().Select(locality.Not(locality.MatchRegion(clientLocality))) // Store in the output.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 19 23:29:30 UTC 2022 - 11K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller_test.go
var p1conn1, p1conn2 *fakeConn p := fakeProxy("1.2.3.4", wgA, "nw1", "sa-a") p.Locality = n.Locality var p2conn1 *fakeConn p2 := fakeProxy("1.2.3.4", wgA, "nw2", "sa-a") p2.Locality = n.Locality var p3conn1 *fakeConn p3 := fakeProxy("1.2.3.5", wgA, "nw1", "sa-a") p3.Locality = n.Locality t.Run("initial registration", func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 31.4K bytes - Viewed (0) -
pkg/model/proxy.go
} return "" } // ConvertLocality converts '/' separated locality string to Locality struct. 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, } }
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/xds/eds_test.go
"region2/zone2/subzone2", } for i, locality := range localities { _, _ = i, locality m.AddInstance(&model.ServiceInstance{ Service: svc, Endpoint: &model.IstioEndpoint{ Address: fmt.Sprintf("10.0.0.%v", i), EndpointPort: 80, ServicePortName: "http", Locality: model.Locality{Label: locality}, }, ServicePort: &model.Port{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 20:58:47 UTC 2024 - 39.6K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
return hosts[i].Name < hosts[j].Name }) } // ConvertLocality converts '/' separated locality string to Locality struct. func ConvertLocality(locality string) *core.Locality { return pm.ConvertLocality(locality) } // LocalityToString converts Locality struct to '/' separated locality string. func LocalityToString(l *core.Locality) string { if l == nil { return "" } resp := l.Region if l.Zone == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0)