Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 718 for port1 (0.09 sec)

  1. pkg/registry/core/service/portallocator/storage/storage_test.go

    			name:   "Allocate invalid port: maximum port from the port range plus 1",
    			port:   basePortRange + sizePortRange,
    			errMsg: fmt.Sprintf("provided port is not in the valid range. The range of valid ports is %d-%d", basePortRange, basePortRange+sizePortRange-1),
    		},
    		{
    			name:   "Allocate invalid port",
    			port:   -2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/gateway/gateway.go

    				if svcSelector.Matches(podLabels) {
    					for _, port := range service.Ports {
    						if port.Protocol == "TCP" {
    							// Because the Gateway's server port is the port on which the proxy should listen for incoming connections,
    							// the actual port associated with the service is the `TargetPort` that reaches the sidecar *workload instances*.
    							if tp := port.TargetPort.IntValue(); tp != 0 {
    								servicePorts[uint32(tp)] = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pilot/pkg/model/validation.go

    		}
    	}
    
    	// Require at least one port
    	if len(s.Ports) == 0 {
    		errs = multierror.Append(errs, fmt.Errorf("service must have at least one declared port"))
    	}
    
    	// Port names can be empty if there exists only one port
    	for _, port := range s.Ports {
    		if port.Name == "" {
    			if len(s.Ports) > 1 {
    				errs = multierror.Append(errs,
    					fmt.Errorf("empty port names are not allowed for services with multiple ports"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease_test.go

    			servers: []serverInfo{{
    				existingIP:     "4.3.2.1",
    				id:             "server-1",
    				ports:          []corev1.EndpointPort{{Name: "foo", Port: 8080, Protocol: "TCP"}},
    				expectEndpoint: "4.3.2.1:8080",
    			}, {
    				existingIP:     "1.2.3.4",
    				id:             "server-2",
    				ports:          []corev1.EndpointPort{{Name: "foo", Port: 8080, Protocol: "TCP"}},
    				expectEndpoint: "1.2.3.4:8080",
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. 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)
  8. operator/cmd/mesh/testdata/manifest-generate/input/gateways.yaml

              service:
                ports:
                ## You can add custom gateway ports - google ILB default quota is 5 ports,
                - port: 15011
                  name: grpc-pilot-mtls
                - port: 8060
                  targetPort: 8060
                  name: tcp-citadel-grpc-tls
                # Port 5353 is forwarded to kube-dns
                - port: 5353
                  name: tcp-dns
              overlays:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. samples/addons/jaeger.yaml

      name: zipkin
      namespace: istio-system
    spec:
      ports:
        - port: 9411
          targetPort: 9411
          name: http-query
      selector:
        app: jaeger
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: jaeger-collector
      namespace: istio-system
      labels:
        app: jaeger
    spec:
      type: ClusterIP
      ports:
      - name: jaeger-collector-http
        port: 14268
        targetPort: 14268
        protocol: TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. samples/ratelimit/rate-limit-service.yaml

            name: redis
            ports:
            - name: redis
              containerPort: 6379
          restartPolicy: Always
          serviceAccountName: ""
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: ratelimit
      labels:
        app: ratelimit
    spec:
      ports:
      - name: http-port
        port: 8080
        targetPort: 8080
        protocol: TCP
      - name: grpc-port
        port: 8081
        targetPort: 8081
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top