Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for nodePortAddresses (0.5 sec)

  1. pkg/proxy/apis/config/v1alpha1/zz_generated.conversion.go

    	if err := Convert_v1alpha1_DetectLocalConfiguration_To_config_DetectLocalConfiguration(&in.DetectLocal, &out.DetectLocal, s); err != nil {
    		return err
    	}
    	out.ClusterCIDR = in.ClusterCIDR
    	out.NodePortAddresses = *(*[]string)(unsafe.Pointer(&in.NodePortAddresses))
    	out.OOMScoreAdj = (*int32)(unsafe.Pointer(in.OOMScoreAdj))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  2. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml

        text:
          infoBufferSize: "0"
      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)
  3. pkg/proxy/iptables/proxier.go

    	localhostNodePorts bool
    
    	// conntrackTCPLiberal indicates whether the system sets the kernel nf_conntrack_tcp_be_liberal
    	conntrackTCPLiberal bool
    
    	// nodePortAddresses selects the interfaces where nodePort works.
    	nodePortAddresses *proxyutil.NodePortAddresses
    	// networkInterfacer defines an interface for several net library functions.
    	// Inject for test purpose.
    	networkInterfacer proxyutil.NetworkInterfacer
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/fuzzer/fuzzer.go

    			obj.MetricsBindAddress = fmt.Sprintf("%d.%d.%d.%d:%d", c.Intn(256), c.Intn(256), c.Intn(256), c.Intn(256), c.Intn(65536))
    			obj.OOMScoreAdj = ptr.To(c.Int31())
    			obj.ClientConnection.ContentType = "bar"
    			obj.NodePortAddresses = []string{"1.2.3.0/24"}
    			if obj.Logging.Format == "" {
    				obj.Logging.Format = "text"
    			}
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/types.go

    	// DetectLocalMode is set to LocalModeClusterCIDR, kube-proxy will consider
    	// traffic to be local if its source IP is in this range. (Otherwise it is not
    	// used.)
    	ClusterCIDR string
    
    	// nodePortAddresses is a list of CIDR ranges that contain valid node IPs, or
    	// alternatively, the single string 'primary'. If set to a list of CIDRs,
    	// connections to NodePort services will only be accepted on node IPs in one of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier.go

    	netlinkHandle NetLinkHandle
    	// ipsetList is the list of ipsets that ipvs proxier used.
    	ipsetList map[string]*IPSet
    	// nodePortAddresses selects the interfaces where nodePort works.
    	nodePortAddresses *proxyutil.NodePortAddresses
    	// networkInterfacer defines an interface for several net library functions.
    	// Inject for test purpose.
    	networkInterfacer     proxyutil.NetworkInterfacer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  7. pkg/proxy/healthcheck/healthcheck_test.go

    func TestServer(t *testing.T) {
    	listener := newFakeListener()
    	httpFactory := newFakeHTTPServerFactory()
    	nodePortAddresses := proxyutil.NewNodePortAddresses(v1.IPv4Protocol, []string{})
    	proxyChecker := &fakeProxierHealthChecker{true}
    
    	hcsi := newServiceHealthServer("hostname", nil, listener, httpFactory, nodePortAddresses, proxyChecker)
    	hcs := hcsi.(*server)
    	if len(hcs.services) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier_test.go

    			ipvs := ipvstest.NewFake()
    			ipset := ipsettest.NewFake(testIPSetVersion)
    			fp := NewFakeProxier(ctx, ipt, ipvs, ipset, test.nodeIPs, nil, v1.IPv4Protocol)
    			fp.nodePortAddresses = proxyutil.NewNodePortAddresses(v1.IPv4Protocol, test.nodePortAddresses)
    
    			makeServiceMap(fp, test.services...)
    			populateEndpointSlices(fp, test.endpoints...)
    
    			fp.syncProxyRules()
    
    			if !reflect.DeepEqual(ipvs, test.expectedIPVS) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier_test.go

    			nodePortAddresses: []string{"192.168.0.0/24", "192.168.1.0/24", "2001:db8::/64"},
    
    			allowAltNodeIP: true,
    		},
    		{
    			name: "ipv6",
    
    			family:            v1.IPv6Protocol,
    			nodePortAddresses: nil,
    
    			allowAltNodeIP: false,
    		},
    		{
    			name: "ipv6, multiple nodeport-addresses",
    
    			family:            v1.IPv6Protocol,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server_linux_test.go

      syncPeriod: 30s
    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)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top