Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,008 for port4 (0.05 sec)

  1. pkg/proxy/servicechangetracker_test.go

    			svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port2", "UDP", 1235, 5321, 0)
    		}),
    		makeTestService("ns2", "node-port", func(svc *v1.Service) {
    			svc.Spec.Type = v1.ServiceTypeNodePort
    			svc.Spec.ClusterIP = "172.16.55.10"
    			svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port1", "UDP", 345, 678, 0)
    			svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port2", "TCP", 344, 677, 0)
    		}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/util/ports/ReservedPortRangeTest.groovy

        }
    
        def "ports are allocated in sequence" () {
            when:
            def port1 = range.allocate()
            def port2 = range.allocate()
            def port3 = range.allocate()
    
            then:
            port2 == next(port1)
            port3 == next(port2)
    
            and:
            3 * portDetector.isAvailable(_) >> { true }
        }
    
        def "detects when ports are unavailable" () {
            def reserved = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 06 13:37:30 UTC 2015
    - 3.1K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/common/ports/ports.go

    	TCPForHTTP       = echo.Port{Name: "tcp-for-http", Protocol: protocol.HTTP, ServicePort: 86, WorkloadPort: 18086}
    )
    
    // All the common ports.
    func All() echo.Ports {
    	return echo.Ports{
    		HTTP,
    		GRPC,
    		HTTP2,
    		TCP,
    		HTTPS,
    		TCPServer,
    		AutoTCP,
    		AutoTCPServer,
    		AutoHTTP,
    		AutoGRPC,
    		AutoHTTPS,
    		HTTPInstance,
    		HTTPLocalHost,
    		TCPWorkloadOnly,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 08 16:17:34 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/port.go

    		return "", fmt.Errorf("failed creating call for port %s: unsupported protocol %s",
    			p.Name, p.Protocol)
    	}
    }
    
    type Ports []Port
    
    func (ps Ports) Contains(p Port) bool {
    	for _, port := range ps {
    		if reflect.DeepEqual(port, p) {
    			return true
    		}
    	}
    	return false
    }
    
    // ForName returns the first port found with the given name.
    func (ps Ports) ForName(name string) (Port, bool) {
    	for _, port := range ps {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 13 18:10:05 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. pkg/cluster/ports/ports.go

    limitations under the License.
    */
    
    package ports
    
    import (
    	cpoptions "k8s.io/cloud-provider/options"
    )
    
    // In this file, we can see all default port of cluster.
    // It's also an important documentation for us. So don't remove them easily.
    const (
    	// ProxyStatusPort is the default port for the proxy metrics server.
    	// May be overridden by a flag at startup.
    	ProxyStatusPort = 10249
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 23:28:05 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/util/ports/FixedAvailablePortAllocatorTest.groovy

            when:
            Integer port2 = portAllocator.assignPort()
    
            then:
            port2 >= PortAllocator.MIN_PRIVATE_PORT
            port2 <= PortAllocator.MAX_PRIVATE_PORT
    
            and:
            port2 != port1
    
            cleanup:
            port1 && portAllocator.releasePort(port1)
            port2 && portAllocator.releasePort(port2)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/service-port-name.yaml

    # If port is unnamed or port name doesn't follow <protocol>[-<suffix>], the analyzer will report warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # internal waypoint, should not generate warning
    apiVersion: v1
    kind: Service
    metadata:
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 21:10:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. releasenotes/notes/sidecar-port-merge.yaml

    kind: bug-fix
    area: traffic-management
    releaseNotes:
    - |
      **Fixed** a bug when a Sidecar is resource is defined with multiple egress listeners with different ports 
      of a Kubernetes service, does not merge the ports correctly. This leads to creating only one Cluster with 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 348 bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/service-no-port-name.yaml

    # If port is unnamed or port name doesn't follow <protocol>[-<suffix>], the analyzer will report warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service1
      namespace: my-namespace1
    spec:
      selector:
        app: my-service1
      ports:
        - protocol: TCP
          port: 8080
          targetPort: 8080
        - protocol: TCP
          port: 8081
          targetPort: 8081
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 574 bytes
    - Viewed (0)
  10. samples/health-check/liveness-http-same-port.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: liveness-http
      labels:
        app: liveness-http
        service: liveness-http
    spec:
      ports:
      - name: http
        port: 8001
      selector:
        app: liveness-http
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: liveness-http
    spec:
      selector:
        matchLabels:
          app: liveness-http
          version: v1
      template:
        metadata:
          labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 07 20:03:32 UTC 2020
    - 734 bytes
    - Viewed (0)
Back to top