Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestNodePorts (0.47 sec)

  1. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    			HostIP:   splited[1],
    			HostPort: int32(hostPort),
    			Protocol: v1.Protocol(splited[0]),
    		})
    	}
    	return st.MakePod().Node(host).ContainerPort(networkPorts).Obj()
    }
    
    func TestNodePorts(t *testing.T) {
    	tests := []struct {
    		pod                 *v1.Pod
    		nodeInfo            *framework.NodeInfo
    		name                string
    		wantPreFilterStatus *framework.Status
    		wantFilterStatus    *framework.Status
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/helpers_test.go

    // way we expect to. We need separate tests for ipv4 and ipv6 because knftables.Fake only supports
    // one address family at a time.
    // The test data is based on "basic tests" of TestNodePorts for ipv6.
    func TestTracePacketV6(t *testing.T) {
    	rules := dedent.Dedent(`
    		add table ip6 kube-proxy { comment "rules for kube-proxy" ; }
    		add chain ip6 kube-proxy cluster-ips-check
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier_test.go

    			destIP:   svcLBIP2,
    			destPort: svcPort,
    			output:   fmt.Sprintf("%s:%d", epIP, svcPort),
    			masq:     true,
    		},
    	})
    }
    
    // TestNodePorts tests NodePort services under various combinations of the
    // --nodeport-addresses flags.
    func TestNodePorts(t *testing.T) {
    	testCases := []struct {
    		name string
    
    		family            v1.IPFamily
    		nodePortAddresses []string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  4. pkg/proxy/iptables/proxier_test.go

    			destPort: svcPort,
    			output:   fmt.Sprintf("%s:%d", epIP, svcPort),
    			masq:     true,
    		},
    	})
    }
    
    // TestNodePorts tests NodePort services under various combinations of the
    // --nodeport-addresses and --localhost-nodeports flags.
    func TestNodePorts(t *testing.T) {
    	testCases := []struct {
    		name string
    
    		family             v1.IPFamily
    		localhostNodePorts bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
Back to top