- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for LbEndpoints (0.2 sec)
-
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
}, LbEndpoints: []*endpoint.LbEndpoint{ { HostIdentifier: buildEndpoint("3.3.3.3"), LoadBalancingWeight: &wrappers.UInt32Value{ Value: 1, }, }, }, }, { Locality: &core.Locality{ Region: "region3", Zone: "zone3", SubZone: "subzone3", }, LbEndpoints: []*endpoint.LbEndpoint{
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/test/xdstest/endpoints.go
} sort.Slice(got, func(i, j int) bool { addrI := util.GetEndpointHost(got[i].LbEndpoints[0]) addrJ := util.GetEndpointHost(got[j].LbEndpoints[0]) return addrI < addrJ }) for i, ep := range got { if len(ep.LbEndpoints) != len(want[i].LbEps) { return fmt.Errorf("unexpected number of LB endpoints within endpoint %d: %v, want %v",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 2.8K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/ep_filters.go
Labels: labels.Instance{}, }, gwEp.Metadata) // Currently gateway endpoint does not support tunnel. lbEndpoints.append(gwIstioEp, gwEp) } // Endpoint members could be stripped or aggregated by network. Adjust weight value here. lbEndpoints.refreshWeight() filtered = append(filtered, lbEndpoints) } return filtered }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 9.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
for _, llb := range cla.Endpoints { filtered := make([]*endpoint.LbEndpoint, 0, len(llb.LbEndpoints)) for _, ep := range llb.LbEndpoints { if !filter.Verify(ep, cla.ClusterName) { continue } filtered = append(filtered, ep) } llb.LbEndpoints = filtered filteredCount += len(llb.LbEndpoints) } return cla, filteredCount
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 5.6K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer.go
out[i] = util.CloneLocalityLbEndpoint(ep.LocalityLbEndpoints) out[i].LbEndpoints = nil out[i].Priority = uint32(priority) var weight uint32 for _, index := range priorityMap[priority] { out[i].LbEndpoints = append(out[i].LbEndpoints, ep.LocalityLbEndpoints.LbEndpoints[index]) weight += ep.LocalityLbEndpoints.LbEndpoints[index].GetLoadBalancingWeight().GetValue() } // reset weight
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/xds/eds_sh_test.go
} lbEndpoints := eps[0].LbEndpoints if len(lbEndpoints) != len(expected.weights) { t.Fatalf("unexpected number of endpoints.\nWant:\n%v\nGot:\n%v", expected.getAddrs(), getLbEndpointAddrs(lbEndpoints)) } for addr, weight := range expected.weights { var match *endpoint.LbEndpoint for _, ep := range lbEndpoints {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 10.8K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_waypoint.go
discoveryType := convertResolution(cb.proxyType, svc) var lbEndpoints []*endpoint.LocalityLbEndpoints if discoveryType == cluster.Cluster_STRICT_DNS || discoveryType == cluster.Cluster_LOGICAL_DNS { lbEndpoints = endpoints.NewCDSEndpointBuilder( proxy, cb.req.Push, clusterName, model.TrafficDirectionInboundVIP, subset, svc.Hostname, port.Port,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
e.istioEndpoints = append(e.istioEndpoints, ep) e.llbEndpoints.LbEndpoints = append(e.llbEndpoints.LbEndpoints, le) } func (e *LocalityEndpoints) refreshWeight() { var weight *wrapperspb.UInt32Value if len(e.llbEndpoints.LbEndpoints) == 0 { weight = nil } else { weight = &wrapperspb.UInt32Value{} for _, lbEp := range e.llbEndpoints.LbEndpoints { weight.Value += lbEp.GetLoadBalancingWeight().Value } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster.go
var lbEndpoints []*endpoint.LocalityLbEndpoints if clusterKey.endpointBuilder != nil { lbEndpoints = clusterKey.endpointBuilder.FromServiceEndpoints() } // create default cluster discoveryType := convertResolution(cb.proxyType, service) defaultCluster := cb.buildCluster(clusterKey.clusterName, discoveryType, lbEndpoints, model.TrafficDirectionOutbound, port, service, nil, "")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(40))) } else if locality.Region == "region1" && locality.SubZone == "subzone2" { g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(17))) g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(20)))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0)