Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for portnet (0.22 sec)

  1. pkg/test/framework/components/echo/config.go

    	portGen := newPortGenerators()
    	for _, p := range c.Ports {
    		if p.ServicePort > 0 {
    			if portGen.Service.IsUsed(p.ServicePort) {
    				return fmt.Errorf("failed configuring port %s: service port already used %d", p.Name, p.ServicePort)
    			}
    			portGen.Service.SetUsed(p.ServicePort)
    		}
    		if p.WorkloadPort > 0 {
    			if portGen.Instance.IsUsed(p.WorkloadPort) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pilot/pkg/model/endpointshards.go

    			var portNum int
    			if ep.LegacyClusterPortKey != 0 {
    				if !ports.Contains(ep.LegacyClusterPortKey) {
    					continue
    				}
    				portNum = ep.LegacyClusterPortKey
    			} else {
    				pn, f := portMap[ep.ServicePortName]
    				if !f {
    					continue
    				}
    				portNum = pn
    			}
    			res[portNum] = append(res[portNum], ep)
    		}
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    			t, ok := p["targetPort"].(float64)
    			if !ok {
    				continue
    			}
    			tp = int(t)
    		}
    
    		rport, ok := p["port"].(float64)
    		if !ok {
    			continue
    		}
    		portnum := int(rport)
    		if tp == 0 && portnum > 1024 {
    			// Target port defaults to port. If its >1024, it is safe.
    			continue
    		}
    		if tp < 1024 {
    			// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. pkg/controller/endpoint/endpoints_controller.go

    		} else {
    			for i := range service.Spec.Ports {
    				servicePort := &service.Spec.Ports[i]
    				portNum, err := podutil.FindPort(pod, servicePort)
    				if err != nil {
    					logger.V(4).Info("Failed to find port for service", "service", klog.KObj(service), "error", err)
    					continue
    				}
    				epp := endpointPortFromServicePort(servicePort, portNum)
    
    				var readyEps, notReadyEps int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    			for _, port := range slice.Ports {
    				var portNum int32
    				if port.Port != nil {
    					portNum = *port.Port
    				}
    				var portName string
    				if port.Name != nil {
    					portName = *port.Name
    				}
    
    				istioEndpoint := builder.buildIstioEndpoint(a, portNum, portName, discoverabilityPolicy, healthStatus)
    				endpoints = append(endpoints, istioEndpoint)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller.go

    				svcPort, f := modelService.Ports.Get(port.Name)
    				if !f {
    					return nil, fmt.Errorf("failed to get svc port for %v", port.Name)
    				}
    
    				var portNum int
    				if len(proxy.Metadata.PodPorts) > 0 {
    					var err error
    					portNum, err = findPortFromMetadata(port, proxy.Metadata.PodPorts)
    					if err != nil {
    						return nil, fmt.Errorf("failed to find target port for %v: %v", proxy.ID, err)
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. pkg/registry/core/service/storage/storage.go

    	if portNum, err := strconv.ParseInt(portStr, 10, 64); err == nil {
    		obj, err := r.Get(ctx, svcName, &metav1.GetOptions{})
    		if err != nil {
    			return nil, nil, err
    		}
    		svc := obj.(*api.Service)
    		found := false
    		for _, svcPort := range svc.Spec.Ports {
    			if int64(svcPort.Port) == portNum {
    				// use the declared port's name
    				portStr = svcPort.Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. pkg/proxy/endpointslicecache.go

    		}
    	}
    
    	return endpointInfoBySP
    }
    
    // addEndpoints adds an Endpoint for each unique endpoint.
    func (cache *EndpointSliceCache) addEndpoints(svcPortName *ServicePortName, portNum int, endpointSet map[string]Endpoint, endpoints []discovery.Endpoint) map[string]Endpoint {
    	if endpointSet == nil {
    		endpointSet = map[string]Endpoint{}
    	}
    
    	// iterate through endpoints to add them to endpointSet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (1)
  9. ci/devinfra/docker_windows/Dockerfile

    FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
    
    # Set default powershell policy for this script (ProgressPreference='SilentlyContinue' makes
    # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster).
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue'; $VerbosePreference = 'Continue';"]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. OWNERS_ALIASES

        - kow3ns
        - janetkuo
        - soltysh
        - smarterclayton
        - atiratree
      sig-apps-reviewers:
        - alculquicondor
        - atiratree
        - janetkuo
        - kow3ns
        - krmayankk
        - mortent
        - smarterclayton
        - soltysh
      # sig-apps-emeritus:
      # - tnozicka
    
      sig-autoscaling-maintainers:
        - bskiba
        - MaciekPytel
        - mwielgus
      sig-instrumentation-approvers:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 23:08:03 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top