Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestNodePorts (0.2 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)
Back to top