- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ServiceEndpointsByPort (0.25 sec)
-
pilot/pkg/config/kube/gateway/context.go
} else { warnings = append(warnings, fmt.Sprintf("hostname %q not found", g)) } foundUnusable = true continue } svcKey := svc.Key() for port := range ports { instances := gc.ps.ServiceEndpointsByPort(svc, port, nil) if len(instances) > 0 { foundInternal.Insert(fmt.Sprintf("%s:%d", g, port)) foundInternalIP.InsertAll(svc.GetAddresses(&model.Proxy{Metadata: &model.NodeMetadata{ClusterID: gc.cluster}})...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 18:33:02 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/dns/server/name_table.go
// IP allocation logic for service entry was unable to allocate an IP. if svc.Resolution == model.Passthrough && len(svc.Ports) > 0 { for _, instance := range cfg.Push.ServiceEndpointsByPort(svc, svc.Ports[0].Port, nil) { // empty addresses are possible here if !netutil.IsValidIPAddress(instance.Address) { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 07:19:38 UTC 2024 - 6.3K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
// Used for CDS (ClusterLoadAssignment constructed elsewhere). func (b *EndpointBuilder) FromServiceEndpoints() []*endpoint.LocalityLbEndpoints { if b == nil { return nil } svcEps := b.push.ServiceEndpointsByPort(b.service, b.port, b.subsetLabels) // don't use the pre-computed endpoints for CDS to preserve previous behavior return ExtractEnvoyEndpoints(b.generate(svcEps)) }
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/model/push_context.go
return serviceMTLSMode } // Fallback to permissive. return MTLSPermissive } // ServiceEndpointsByPort returns the cached instances by port if it exists. func (ps *PushContext) ServiceEndpointsByPort(svc *Service, port int, labels labels.Instance) []*IstioEndpoint { var out []*IstioEndpoint
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/networking/core/listener.go
if bind.Primary() == "" && service.Resolution == model.Passthrough && saddress == constants.UnspecifiedIP && (servicePort.Protocol.IsTCP() || servicePort.Protocol.IsUnsupported()) { instances := push.ServiceEndpointsByPort(service, servicePort.Port, nil) if service.Attributes.ServiceRegistry != provider.Kubernetes && len(instances) == 0 && service.Attributes.LabelSelectors == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 55.1K bytes - Viewed (0)