- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for istioEndpoints (0.4 sec)
-
pilot/pkg/model/endpointshards.go
} ep.Lock() defer ep.Unlock() newIstioEndpoints := istioEndpoints oldIstioEndpoints := ep.Shards[shard] needPush := false if oldIstioEndpoints == nil { // If there are no old endpoints, we should push with incoming endpoints as there is nothing to compare. needPush = true } else { newIstioEndpoints = make([]*IstioEndpoint, 0, len(istioEndpoints)) // Check if new Endpoints are ready to be pushed. This check
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
return configs } type LocalityEndpoints struct { istioEndpoints []*model.IstioEndpoint // The protobuf message which contains LbEndpoint slice. llbEndpoints endpoint.LocalityLbEndpoints } func (e *LocalityEndpoints) append(ep *model.IstioEndpoint, le *endpoint.LbEndpoint) { e.istioEndpoints = append(e.istioEndpoints, ep) e.llbEndpoints.LbEndpoints = append(e.llbEndpoints.LbEndpoints, le) }
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/loadbalancer/loadbalancer_test.go
{ IstioEndpoints: []*model.IstioEndpoint{ { Labels: map[string]string{ "topology.istio.io/network": "n1", "topology.istio.io/cluster": "c1", }, Address: "1.1.1.1", }, }, LocalityLbEndpoints: cluster.LoadAssignment.Endpoints[0], }, { IstioEndpoints: []*model.IstioEndpoint{ { Labels: map[string]string{
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/xds/endpoints/ep_filters.go
// Process all the endpoints. for i, lbEp := range ep.llbEndpoints.LbEndpoints { istioEndpoint := ep.istioEndpoints[i] // If the proxy can't view the network for this endpoint, exclude it entirely. if !b.proxyView.IsVisible(istioEndpoint) { continue } // Copy the endpoint in order to expand the load balancing weight.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 9.1K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer.go
} } } } // WrappedLocalityLbEndpoints contain an envoy LocalityLbEndpoints // and the original IstioEndpoints used to generate it. // It is used to do failover priority label match with proxy labels. type WrappedLocalityLbEndpoints struct { IstioEndpoints []*model.IstioEndpoint LocalityLbEndpoints *endpoint.LocalityLbEndpoints } // set loadbalancing priority by failover priority label.
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/model/service.go
} // DeepCopy creates a clone of IstioEndpoint. func (ep *IstioEndpoint) DeepCopy() *IstioEndpoint { return copyInternal(ep).(*IstioEndpoint) } // ShallowCopy creates a shallow clone of IstioEndpoint. func (ep *IstioEndpoint) ShallowCopy() *IstioEndpoint { // nolint: govet cpy := *ep return &cpy }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/index_test.go
Name: selector.Name, Namespace: selector.Namespace, Endpoint: &model.IstioEndpoint{ Address: "2.2.2.2", Labels: map[string]string{"app": "wle"}, // should match }, } wi2 := &model.WorkloadInstance{ Name: "same-ip", Namespace: selector.Namespace, Endpoint: &model.IstioEndpoint{ Address: "2.2.2.2", Labels: map[string]string{"app": "wle"}, // should match },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go
"istio.io/istio/pkg/config/labels" kubeUtil "istio.io/istio/pkg/kube" "istio.io/istio/pkg/network" ) // EndpointBuilder is a stateful IstioEndpoint builder with metadata used to build IstioEndpoint type EndpointBuilder struct { controller controllerInterface labels labels.Instance metaNetwork network.ID serviceAccount string locality model.Locality
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpointslice.go
endpointsByServiceAndSlice map[host.Name]map[string][]*model.IstioEndpoint } func newEndpointSliceCache() *endpointSliceCache { out := &endpointSliceCache{ endpointsByServiceAndSlice: make(map[host.Name]map[string][]*model.IstioEndpoint), } return out } func (e *endpointSliceCache) Update(hostname host.Name, slice string, endpoints []*model.IstioEndpoint) { e.mu.Lock() defer e.mu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion.go
} return istioService } func ExternalNameEndpoints(svc *model.Service) []*model.IstioEndpoint { if svc.Attributes.ExternalName == "" { return nil } out := make([]*model.IstioEndpoint, 0, len(svc.Ports)) discoverabilityPolicy := model.AlwaysDiscoverable if features.EnableMCSServiceDiscovery {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9.4K bytes - Viewed (0)