- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for LbEndpoints (0.14 sec)
-
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) -
pilot/pkg/networking/core/cluster_builder.go
var lbEndpoints []*endpoint.LocalityLbEndpoints isPassthrough := subset.GetTrafficPolicy().GetLoadBalancer().GetSimple() == networking.LoadBalancerSettings_PASSTHROUGH clusterType := opts.mutable.cluster.GetType() if isPassthrough { clusterType = cluster.Cluster_ORIGINAL_DST } if !(isPassthrough || clusterType == cluster.Cluster_EDS) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
pilot/pkg/xds/eds_test.go
if !f || len(lbe.Endpoints) == 0 { t.Error("No UDS lb endpoints") } else { ep0 := lbe.Endpoints[0] if len(ep0.LbEndpoints) != 1 { t.Fatalf("expected 1 LB endpoint but got %d", len(ep0.LbEndpoints)) } lbep := ep0.LbEndpoints[0] path := lbep.GetEndpoint().GetAddress().GetPipe().GetPath() if path != udsPath { t.Fatalf("expected Pipe to %s, got %s", udsPath, path) } }
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
func CloneLocalityLbEndpoint(ep *endpoint.LocalityLbEndpoints) *endpoint.LocalityLbEndpoints { clone := &endpoint.LocalityLbEndpoints{} clone.Locality = ep.Locality clone.LbEndpoints = ep.LbEndpoints clone.Proximity = ep.Proximity clone.Priority = ep.Priority if ep.LoadBalancingWeight != nil { clone.LoadBalancingWeight = &wrapperspb.UInt32Value{ Value: ep.GetLoadBalancingWeight().GetValue(),
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/networking/core/cluster_builder_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
) var testCla = &endpoint.ClusterLoadAssignment{ ClusterName: "cluster", Endpoints: []*endpoint.LocalityLbEndpoints{{ Locality: &core.Locality{Region: "foo", Zone: "bar"}, LbEndpoints: []*endpoint.LbEndpoint{ { HostIdentifier: &endpoint.LbEndpoint_Endpoint{Endpoint: &endpoint.Endpoint{Hostname: "foo", Address: BuildAddress("1.1.1.1", 80)}}, LoadBalancingWeight: &wrappers.UInt32Value{Value: 100},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
pilot/test/xdstest/extract.go
if cla == nil { return nil, nil } healthy := []string{} unhealthy := []string{} for _, ep := range cla.Endpoints { for _, lb := range ep.LbEndpoints { var addrString string switch lb.GetEndpoint().GetAddress().Address.(type) { case *core.Address_SocketAddress: addrString = fmt.Sprintf("%s:%d",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 13.9K bytes - Viewed (0)