- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 163 for svcs (0.04 sec)
-
istioctl/pkg/writer/ztunnel/configdump/services.go
for _, svc := range svcs { var ip string if len(svc.Addresses) > 0 { _, ip, _ = strings.Cut(svc.Addresses[0], "/") } waypoint := serviceWaypointName(svc, zDump.Services) fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", svc.Namespace, svc.Name, ip, waypoint) } return w.Flush() } // PrintServiceDump prints the relevant services in the config dump to the ConfigWriter stdout
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/deployment/services.go
}) return matchingSvcs } // servicePortMap build a map of ports and protocols for each Service. e.g. m[80]["TCP"] -> svcA, svcB, svcC func servicePortMap(svcs []ServiceSpecWithName) PortMap { portMap := PortMap{} for _, swn := range svcs { svc := swn.Spec for _, sPort := range svc.Ports { // If it is the first occurrence of this port, create a ProtocolMap if _, ok := portMap[sPort.Port]; !ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 6.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_waypoint.go
clusters := []*cluster.Cluster{} for _, svc := range svcs { for _, port := range svc.Ports { if port.Protocol == protocol.UDP { continue } if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() { clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "tcp").build()) }
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/networking/apigen/apigen.go
if w.TypeUrl == gvk.ServiceEntry.String() { // Include 'synthetic' SE - but without the endpoints. Used to generate CDS, LDS. // EDS is pass-through. svcs := proxy.SidecarScope.Services() for _, s := range svcs { // Ignore services that are result of conversion from ServiceEntry. if s.Attributes.ServiceRegistry == provider.External { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 05 19:01:38 UTC 2023 - 5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/store.go
} // getAllServices return all the services. func (s *serviceStore) getAllServices() []*model.Service { out := make([]*model.Service, 0, countSliceValue(s.servicesBySE)) for _, svcs := range s.servicesBySE { out = append(out, svcs...) } return model.SortServicesByCreationTime(out) } func (s *serviceStore) getServices(key types.NamespacedName) []*model.Service { return s.servicesBySE[key] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go
} hostName := host.Name(event.ID) svc := ec.GetService(hostName) if svc == nil { return fmt.Errorf("unable to find service for host %s", hostName) } return ec.checkEndpoint(exported, event.Endpoints[0]) }, serviceExportTimeout) } func (ec *serviceExportCacheImpl) getEndpoint(endpoints *model.EndpointIndex) *model.IstioEndpoint { svcs := ec.Services() for _, s := range svcs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 9.1K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml
value: /foo headers: - name: my-header value: some-value type: Exact backendRefs: - name: svc1 port: 80 - matches: - path: type: RegularExpression value: /foo((\/).*)? backendRefs: - name: svc2 port: 80 --- apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: http namespace: allowed-2 spec:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 18 22:43:39 UTC 2023 - 2.7K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/testdata/benchmark-httproute.yaml
value: /foo headers: - name: my-header value: some-value type: Exact backendRefs: - name: svc1 port: 80 - matches: - path: type: RegularExpression value: /foo((\/).*)? backendRefs: - name: svc2 port: 80 --- apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: http namespace: allowed-2 spec:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 18 22:43:39 UTC 2023 - 2.5K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml.golden
uri: exact: /baz name: allowed-2.http.1 route: - destination: host: svc2.allowed-2.svc.domain.suffix port: number: 80 - match: - uri: prefix: /foo/bar name: allowed-2.http.0 route: - destination: host: svc2.allowed-2.svc.domain.suffix port: number: 80 - match: - headers: my-header:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 20:21:53 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/metrics/cache_test.go
c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc1"}, spCacheInefficient) expectNumEndpointsAndSlices(t, c, 2, 13, 30) c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc2"}, spCacheEfficient) expectNumEndpointsAndSlices(t, c, 4, 15, 110) c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc3"}, spCacheInefficient) expectNumEndpointsAndSlices(t, c, 6, 28, 140)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 2.6K bytes - Viewed (0)