Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for portRange (0.22 sec)

  1. 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)
  2. staging/src/k8s.io/apimachinery/pkg/util/net/port_range_test.go

    		{"100+200", true, "100-300", 300, 301},
    		{"1+65535", false, "", -1, -1},
    		{"0+65535", true, "0-65535", 65535, 65536},
    	}
    
    	for i := range testCases {
    		tc := &testCases[i]
    		pr := &PortRange{}
    		var f flag.Value = pr
    		err := f.Set(tc.input)
    		if err != nil && tc.success {
    			t.Errorf("expected success, got %q", err)
    			continue
    		} else if err == nil && !tc.success {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/kube-proxy/app/server_test.go

        - "fd00:1::0/64"
    nftables:
      masqueradeAll: true
      masqueradeBit: 18
      minSyncPeriod: 10s
      syncPeriod: 60s
    kind: KubeProxyConfiguration
    metricsBindAddress: "%s"
    mode: "%s"
    oomScoreAdj: 17
    portRange: "2-7"
    detectLocalMode: "ClusterCIDR"
    detectLocal:
      bridgeInterface: "cbr0"
      interfaceNamePrefix: "veth"
    nodePortAddresses:
      - "10.20.30.40/16"
      - "fd00:1::0/64"
    `
    
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. pkg/registry/core/rest/storage_core.go

    	KubeletClientConfig kubeletclient.KubeletClientConfig
    }
    
    type ServicesConfig struct {
    	// Service IP ranges
    	ClusterIPRange          net.IPNet
    	SecondaryClusterIPRange net.IPNet
    	NodePortRange           utilnet.PortRange
    
    	IPRepairInterval time.Duration
    }
    
    type rangeRegistries struct {
    	clusterIP          rangeallocation.RangeRegistry
    	secondaryClusterIP rangeallocation.RangeRegistry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server_linux_test.go

    ipvs:
      excludeCIDRs: null
      minSyncPeriod: 0s
      scheduler: ""
      syncPeriod: 30s
    kind: KubeProxyConfiguration
    metricsBindAddress: 127.0.0.1:10249
    mode: ""
    nodePortAddresses: null
    oomScoreAdj: -999
    portRange: ""
    detectLocalMode: "BridgeInterface"`)
    		if err != nil {
    			return nil, "", fmt.Errorf("unexpected error when writing content to temp kube-proxy config file: %v", err)
    		}
    
    		return file, tempDir, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. pkg/controlplane/instance.go

    	// the API server items and `Extra*` fields likely fit nicely together.
    
    	// The range of ports to be assigned to services with type=NodePort or greater
    	ServiceNodePortRange utilnet.PortRange
    	// If non-zero, the "kubernetes" services uses this port as NodePort.
    	KubernetesServiceNodePort int
    
    	// Number of masters running; all masters must be started with the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server.go

    	_ = fs.MarkDeprecated("metrics-port", "This flag is deprecated and will be removed in a future release. Please use --metrics-bind-address instead.")
    	fs.Var(utilflag.PortRangeVar{Val: &o.config.PortRange}, "proxy-port-range", "This was previously used to configure the userspace proxy, but is now unused.")
    	_ = fs.MarkDeprecated("proxy-port-range", "This flag has no effect and will be removed in a future release.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top