Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createAndLinkKubeChain (0.64 sec)

  1. pkg/proxy/ipvs/proxier.go

    				"-m", "set", "--match-set", proxier.ipsetList[set].Name, matchType,
    				"-j", "ACCEPT",
    			)
    		}
    	}
    }
    
    // createAndLinkKubeChain create all kube chains that ipvs proxier need and write basic link.
    func (proxier *Proxier) createAndLinkKubeChain() {
    	for _, ch := range iptablesChains {
    		if _, err := proxier.iptables.EnsureChain(ch.table, ch.chain); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier_test.go

    	ipt := iptablestest.NewFake()
    	ipvs := ipvstest.NewFake()
    	ipset := ipsettest.NewFake(testIPSetVersion)
    	fp := NewFakeProxier(ctx, ipt, ipvs, ipset, nil, nil, v1.IPv4Protocol)
    	fp.createAndLinkKubeChain()
    	expectedNATChains := `:KUBE-SERVICES - [0:0]
    :KUBE-POSTROUTING - [0:0]
    :KUBE-NODE-PORT - [0:0]
    :KUBE-LOAD-BALANCER - [0:0]
    :KUBE-MARK-MASQ - [0:0]
    `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top