Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 754 for port1 (0.26 sec)

  1. pkg/registry/core/service/portallocator/controller/repair.go

    				runtime.HandleError(fmt.Errorf("the port %d for service %s/%s is not within the port range %s; please recreate", port, svc.Name, svc.Namespace, c.portRange))
    			case portallocator.ErrFull:
    				// somehow we are out of ports
    				nodePortRepairPortErrors.WithLabelValues("full").Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/conversion_test.go

    	}
    
    	if service.CreationTime != tnow {
    		t.Fatalf("incorrect creation time => %v, want %v", service.CreationTime, tnow)
    	}
    
    	if len(service.Ports) != len(localSvc.Spec.Ports) {
    		t.Fatalf("incorrect number of ports => %v, want %v",
    			len(service.Ports), len(localSvc.Spec.Ports))
    	}
    
    	if service.External() {
    		t.Fatal("service should not be external")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pkg/registry/core/service/portallocator/allocator_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    
    		for port := range tc {
    			if err := r.Allocate(port); err != nil {
    				t.Errorf("[%d] error allocating port %v: %v", i, port, err)
    			}
    			if !r.Has(port) {
    				t.Errorf("[%d] expected port %v allocated", i, port)
    			}
    		}
    
    		calls := sets.NewInt()
    		r.ForEach(func(port int) {
    			calls.Insert(port)
    		})
    		if len(calls) != len(tc) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

              "address": "/10.244.2.8",
              "port": {
                "443": 8443
              }
            }
          },
          "subjectAltNames": []
        },
        "/10.96.198.255": {
          "name": "productpage",
          "namespace": "default",
          "hostname": "productpage.default.svc.cluster.local",
          "vips": [
            "/10.96.198.255"
          ],
          "ports": {
            "9080": 9080
          },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    						// Not a named port
    						80: {PortName: "80"},
    						// Named port found in WE
    						81: {PortName: "81", TargetPortName: "81-target"},
    						// Named port target found in WE
    						82: {PortName: "82", TargetPortName: "82-target"},
    						// Named port not found in WE
    						83: {PortName: "83", TargetPortName: "83-target"},
    					},
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_redirect.go

    }
    
    func validatePortList(ports string) error {
    	if _, err := parsePorts(ports); err != nil {
    		return fmt.Errorf("portList %q invalid: %v", ports, err)
    	}
    	return nil
    }
    
    func validatePortListWithWildcard(ports string) error {
    	if ports != "*" {
    		return validatePortList(ports)
    	}
    	return nil
    }
    
    // validateCIDRListWithWildcard validates the includeIPRanges parameter
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. tests/integration/security/reachability_test.go

    							{
    								Port: echo.Port{
    									Name: ports.HTTP2.Name,
    								},
    							},
    							{
    								Port: echo.Port{
    									Name: ports.HTTPS.Name,
    								},
    							},
    							{
    								Port: echo.Port{
    									Name: ports.TCP.Name,
    								},
    							},
    							{
    								Port: echo.Port{
    									Name: ports.GRPC.Name,
    								},
    							},
    						}
    					}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/peer_authentication_simulation_test.go

    spec:
     hosts:
     - foo.bar
     endpoints:
     - address: 1.1.1.1
     location: MESH_INTERNAL
     resolution: STATIC
     ports:
     - name: http
       number: 8000
       protocol: HTTP
    ---`
    	mkCall := func(port int, tls simulation.TLSMode) simulation.Call {
    		r := simulation.Call{Protocol: simulation.HTTP, Port: port, CallMode: simulation.CallModeInbound, TLS: tls}
    		if tls == simulation.MTLS {
    			r.Alpn = "istio"
    		}
    		return r
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		pl := &workloadapi.PortList{
    			Ports: make([]*workloadapi.Port, 0, len(svc.Ports)),
    		}
    		res[n] = pl
    		for _, port := range svc.Ports {
    			targetPort := port.TargetPort
    			// The svc.Ports represents the workloadapi.Service, which drops the port name info and just has numeric target Port.
    			// TargetPort can be 0 which indicates its a named port. Check if its a named port and replace with the real targetPort if so.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. istioctl/pkg/validate/validate_test.go

    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        - name: http
          port: 9080`
    	validPortNamingWithSuffixSvc = `
    apiVersion: v1
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        - name: http-hello
          port: 9080`
    	invalidPortNamingSvc = `
    apiVersion: v1
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        - name: hello
          port: 9080`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top