Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for portRange (0.14 sec)

  1. pkg/registry/core/service/portallocator/allocator.go

    }
    
    type PortAllocator struct {
    	portRange net.PortRange
    
    	alloc allocator.Interface
    
    	// metrics is a metrics recorder that can be disabled
    	metrics metricsRecorderInterface
    }
    
    // PortAllocator implements Interface and Snapshottable
    var _ Interface = &PortAllocator{}
    
    // New creates a PortAllocator over a net.PortRange, calling allocatorFactory to construct the backing store.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. pkg/registry/core/service/portallocator/allocator_test.go

    	type args struct {
    		pr net.PortRange
    	}
    	tests := []struct {
    		name string
    		args args
    		want int
    	}{
    		{
    			name: "default node port range",
    			args: args{
    				pr: net.PortRange{
    					Base: 30000,
    					Size: 2768,
    				},
    			},
    			want: 86,
    		},
    		{
    			name: "very small node port range",
    			args: args{
    				pr: net.PortRange{
    					Base: 30000,
    					Size: 10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. cmd/ftp-server.go

    	if serverDebugLog {
    		fmt.Printf("%s < %d %s\n", sessionID, code, message)
    	}
    }
    
    func startFTPServer(args []string) {
    	var (
    		port          int
    		publicIP      string
    		portRange     string
    		tlsPrivateKey string
    		tlsPublicCert string
    	)
    
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/roundtrip/default/v1alpha1.yaml

      verbosity: 0
    metricsBindAddress: 127.0.0.1:10249
    mode: ""
    nftables:
      masqueradeAll: false
      masqueradeBit: 14
      minSyncPeriod: 1s
      syncPeriod: 30s
    nodePortAddresses: null
    oomScoreAdj: -999
    portRange: ""
    showHiddenMetricsForVersion: ""
    winkernel:
      enableDSR: false
      forwardHealthCheckVip: false
      networkName: ""
      rootHnsEndpointName: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. cmd/kube-apiserver/app/options/validation_test.go

    			}
    		})
    	}
    }
    
    func makeOptionsWithPort(kubernetesServiceNodePort int, base int, size int) *ServerRunOptions {
    	var portRange = utilnet.PortRange{
    		Base: base,
    		Size: size,
    	}
    	return &ServerRunOptions{
    		Extra: Extra{
    			ServiceNodePortRange:      portRange,
    			KubernetesServiceNodePort: kubernetesServiceNodePort,
    		},
    	}
    }
    
    func TestValidateMaxCIDRRange(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. pkg/registry/core/service/portallocator/storage/storage_test.go

    		d()
    		server.Terminate(t)
    	}
    	return server, storage, backing, s, destroyFunc
    }
    
    func validNewRangeAllocation() *api.RangeAllocation {
    	portRange := fmt.Sprintf("%d-%d", basePortRange, basePortRange+sizePortRange-1)
    	return &api.RangeAllocation{
    		Range: portRange,
    	}
    }
    
    func key() string {
    	return "/ranges/servicenodeports"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml

      verbosity: 0
    metricsBindAddress: 127.0.0.1:10249
    mode: ""
    nftables:
      masqueradeAll: false
      masqueradeBit: 14
      minSyncPeriod: 1s
      syncPeriod: 30s
    nodePortAddresses: null
    oomScoreAdj: -999
    portRange: ""
    showHiddenMetricsForVersion: ""
    winkernel:
      enableDSR: false
      forwardHealthCheckVip: false
      networkName: ""
      rootHnsEndpointName: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/validation/validation.go

    			}
    		}
    	}
    
    	if _, err := utilnet.ParsePortRange(config.PortRange); err != nil {
    		allErrs = append(allErrs, field.Invalid(newPath.Child("PortRange"), config.PortRange, "must be a valid port range (e.g. 300-2000)"))
    	}
    
    	allErrs = append(allErrs, validateKubeProxyNodePortAddress(config.NodePortAddresses, newPath.Child("NodePortAddresses"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/types.go

    	// configSyncPeriod is how often configuration from the apiserver is refreshed. Must be greater
    	// than 0.
    	ConfigSyncPeriod metav1.Duration
    
    	// portRange was previously used to configure the userspace proxy, but is now unused.
    	PortRange string
    }
    
    // ProxyMode represents modes used by the Kubernetes proxy server.
    //
    // Currently, three modes of proxy are available on Linux platforms: 'iptables', 'ipvs',
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. cmd/kube-apiserver/app/options/options.go

    	PrimaryServiceClusterIPRange   net.IPNet
    	SecondaryServiceClusterIPRange net.IPNet
    	// APIServerServiceIP is the first valid IP from PrimaryServiceClusterIPRange
    	APIServerServiceIP net.IP
    
    	ServiceNodePortRange utilnet.PortRange
    
    	EndpointReconcilerType string
    
    	MasterCount int
    }
    
    // NewServerRunOptions creates a new ServerRunOptions object with default parameters
    func NewServerRunOptions() *ServerRunOptions {
    	s := ServerRunOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top