Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 754 for port1 (0.36 sec)

  1. pilot/pkg/config/kube/ingress/controller_test.go

    				t.Fatal("should be equal.")
    			}
    		})
    	}
    }
    
    func TestExtractPorts(t *testing.T) {
    	ports := []corev1.ServicePort{
    		{
    			Port: 80,
    		},
    		{
    			Name: "http",
    			Port: 8080,
    		},
    	}
    
    	expect := sets.New("80|", "8080|http")
    	if !expect.Equals(extractPorts(ports)) {
    		t.Fatal("should be equal")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 18:34:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. pkg/api/pod/warnings.go

    					fldPath.Child("ports").Index(i), port))
    			}
    			k := fmt.Sprintf("%d/%s", port.ContainerPort, port.Protocol)
    			if others, found := allPorts[k]; found {
    				// Someone else has this protcol+port, but it still might not be a conflict.
    				for _, other := range others {
    					if port.HostIP == other.port.HostIP && port.HostPort == other.port.HostPort {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. tests/integration/telemetry/policy/helper_test.go

    			Ports: []echo.Port{
    				{
    					// Plain HTTP port, will match no listeners and fall through
    					Name:         "http",
    					Protocol:     protocol.HTTP,
    					ServicePort:  80,
    					WorkloadPort: 8080,
    				},
    				{
    					// HTTPS port, will match no listeners and fall through
    					Name:         "https",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/networking/v1/generated.proto

      // +optional
      optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
    
      // endPort indicates that the range of ports from port to endPort if set, inclusive,
      // should be allowed by the policy. This field cannot be defined if the port field
      // is not defined or if the port field is defined as a named (string) port.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/controller.go

    		tps := make(map[model.Port]*model.Port)
    		tpsList := make([]model.Port, 0)
    		for _, port := range service.Spec.Ports {
    			svcPort, exists := svc.Ports.Get(port.Name)
    			if !exists {
    				continue
    			}
    			// find target port
    			portNum, err := FindPort(pod, &port)
    			if err != nil {
    				log.Warnf("Failed to find port for service %s/%s: %v", service.Namespace, service.Name, 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)
  6. pilot/pkg/model/gateway.go

    // service, we should not translate Gateway ports to target ports. For example, if I have a Service
    // on port 80 with target port 8080, with the label. Gateways on port 80 would *not* match. Instead,
    // only Gateways on port 8080 would be used. This prevents ambiguities when there are multiple
    // Services on port 80 referring to different target ports. Long term, this will be replaced by
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/kube/deployment.go

    }
    
    // getContainerPorts converts the ports to a port list of container ports.
    // Adds ports for health/readiness if necessary.
    func getContainerPorts(cfg echo.Config) echoCommon.PortList {
    	ports := cfg.Ports
    	containerPorts := make(echoCommon.PortList, 0, len(ports))
    	var healthPort *echoCommon.Port
    	var readyPort *echoCommon.Port
    	for _, p := range ports {
    		// Add the port to the set of application ports.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. pkg/apis/networking/types.go

    	// +optional
    	Hostname string
    
    	// ports provides information about the ports exposed by this LoadBalancer.
    	// +optional
    	Ports []IngressPortStatus
    }
    
    // IngressPortStatus represents the error condition of an ingress port
    type IngressPortStatus struct {
    	// port is the port number of the ingress port.
    	Port int32
    
    	// protocol is the protocol of the ingress port.
    	Protocol api.Protocol
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 27.7K bytes
    - Viewed (0)
  9. pkg/kube/inject/template.go

    }
    
    func excludeInboundPort(port any, excludedInboundPorts string) string {
    	portStr := strings.TrimSpace(fmt.Sprint(port))
    	if len(portStr) == 0 || portStr == "0" {
    		// Nothing to do.
    		return excludedInboundPorts
    	}
    
    	// Exclude the readiness port if not already excluded.
    	ports := splitPorts(excludedInboundPorts)
    	outPorts := make([]string, 0, len(ports))
    	for _, port := range ports {
    		if port == portStr {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/network_test.go

    		}},
    		Spec: corev1.ServiceSpec{
    			Type:  corev1.ServiceTypeLoadBalancer,
    			Ports: []corev1.ServicePort{{Port: 15443, Protocol: corev1.ProtocolTCP}},
    		},
    		Status: corev1.ServiceStatus{LoadBalancer: corev1.LoadBalancerStatus{Ingress: []corev1.LoadBalancerIngress{{
    			IP:    "2.3.4.6",
    			Ports: []corev1.PortStatus{{Port: 15443, Protocol: corev1.ProtocolTCP}},
    		}}}},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top