Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for PORT (0.1 sec)

  1. pkg/printers/internalversion/printers_test.go

    					ClusterIPs: []string{"1.3.4.5"},
    					Type:       "LoadBalancer",
    					Ports:      []api.ServicePort{{Port: 80, Protocol: "TCP"}, {Port: 8090, Protocol: "UDP"}, {Port: 8000, Protocol: "TCP"}, {Port: 7777, Protocol: "SCTP"}},
    				},
    			},
    			options: printers.GenerateOptions{},
    			// Columns: Name, Type, Cluster-IP, External-IP, Port(s), Age
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    }
    
    func makePortString(ports []api.ServicePort) string {
    	pieces := make([]string, len(ports))
    	for ix := range ports {
    		port := &ports[ix]
    		pieces[ix] = fmt.Sprintf("%d/%s", port.Port, port.Protocol)
    		if port.NodePort > 0 {
    			pieces[ix] = fmt.Sprintf("%d:%d/%s", port.Port, port.NodePort, port.Protocol)
    		}
    	}
    	return strings.Join(pieces, ",")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    	}
    	if got := tr.IdleConnKeysForTesting(); !reflect.DeepEqual(got, want) {
    		t.Fatalf("idle conn keys mismatch.\n got: %q\nwant: %q\n", got, want)
    	}
    
    	// Now hitting the 5th host should kick out the first host:
    	hitHost(4)
    	want = []string{
    		"|http|host-1.dns-is-faked.golang:" + port,
    		"|http|host-2.dns-is-faked.golang:" + port,
    		"|http|host-3.dns-is-faked.golang:" + port,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. cluster/gce/gci/configure-helper.sh

      else
        echo "KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE must be set to either grpc or http-connect"
        exit 1
      fi
    
      params+=("--agent-port=$1")
      params+=("--health-port=$2")
      params+=("--admin-port=$3")
      params+=("--kubeconfig-qps=75")
      params+=("--kubeconfig-burst=150")
      params+=("--keepalive-time=60s")
      params+=("--frontend-keepalive-time=60s")
      konnectivity_args=""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  5. cluster/gce/util.sh

      run-gcloud-command "${EXISTING_MASTER_NAME}" "${EXISTING_MASTER_ZONE}" "curl -s ${TLSARG} ${PROTO}127.0.0.1:${port}/v2/members/\$(curl -s ${TLSARG} ${PROTO}127.0.0.1:${port}/v2/members -XGET | sed 's/{\\\"id/\n/g' | grep ${REPLICA_NAME}\\\" | cut -f 3 -d \\\") -XDELETE -L 2>/dev/null"
      local -r res=$?
      echo "Removing etcd replica, name: ${REPLICA_NAME}, port: ${port}, result: ${res}"
      return "${res}"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller_test.go

    // Test that if the node is already scheduled with a pod using a host port
    // but belonging to the same daemonset, we don't delete that pod
    //
    // Issue: https://github.com/kubernetes/kubernetes/issues/22309
    func TestPortConflictWithSameDaemonPodDoesNotDeletePod(t *testing.T) {
    	for _, strategy := range updateStrategies() {
    		podSpec := v1.PodSpec{
    			NodeName: "port-conflict",
    			Containers: []v1.Container{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		newHostPort := newHost
    		if len(endpoint.Port()) > 0 {
    			// Host + port
    			newHostPort = newHost + ":" + endpoint.Port()
    			mapIfNotPresent(hostAnonymizer, endpoint.Host, newHostPort)
    			mapIfNotPresent(hostAnonymizer, schemePfx+endpoint.Host, newHostPort)
    		}
    
    		newHostPortPath := newHostPort
    		if len(endpoint.Path) > 0 {
    			// Host + port + path
    			currentHostPortPath := endpoint.Host + endpoint.Path
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    		MaxPerPodContainer: int(maxPerPodContainerCount),
    		MaxContainers:      int(maxContainerCount),
    	}
    
    	daemonEndpoints := &v1.NodeDaemonEndpoints{
    		KubeletEndpoint: v1.DaemonEndpoint{Port: kubeCfg.Port},
    	}
    
    	imageGCPolicy := images.ImageGCPolicy{
    		MinAge:               kubeCfg.ImageMinimumGCAge.Duration,
    		HighThresholdPercent: int(kubeCfg.ImageGCHighThresholdPercent),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. src/net/http/server.go

    			np = p
    		} else {
    			np += "/"
    		}
    	}
    	return np
    }
    
    // stripHostPort returns h without any trailing ":<port>".
    func stripHostPort(h string) string {
    	// If no port on host, return unchanged
    	if !strings.Contains(h, ":") {
    		return h
    	}
    	host, _, err := net.SplitHostPort(h)
    	if err != nil {
    		return h // on error, return unchanged
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    	var data = []byte("Hello world.\n")
    	if server := os.Getenv("TEST_BENCH_SERVER"); server != "" {
    		// Server process mode.
    		port := os.Getenv("TEST_BENCH_SERVER_PORT") // can be set by user
    		if port == "" {
    			port = "0"
    		}
    		ln, err := net.Listen("tcp", "localhost:"+port)
    		if err != nil {
    			fmt.Fprintln(os.Stderr, err.Error())
    			os.Exit(1)
    		}
    		fmt.Println(ln.Addr().String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top