Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ProxyModeNFTables (0.31 sec)

  1. pkg/proxy/apis/config/validation/validation.go

    	switch config.Mode {
    	case kubeproxyconfig.ProxyModeIPVS:
    		allErrs = append(allErrs, validateKubeProxyIPVSConfiguration(config.IPVS, newPath.Child("KubeProxyIPVSConfiguration"))...)
    	case kubeproxyconfig.ProxyModeNFTables:
    		allErrs = append(allErrs, validateKubeProxyNFTablesConfiguration(config.NFTables, newPath.Child("KubeProxyNFTablesConfiguration"))...)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_linux.go

    	if config.Mode == "" {
    		o.logger.Info("Using iptables proxy")
    		config.Mode = proxyconfigapi.ProxyModeIPTables
    	}
    
    	if config.Mode == proxyconfigapi.ProxyModeNFTables && len(config.NodePortAddresses) == 0 {
    		config.NodePortAddresses = []string{proxyconfigapi.NodePortAddressesPrimary}
    	}
    
    	if config.DetectLocalMode == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. pkg/proxy/metrics/metrics.go

    			legacyregistry.MustRegister(IPTablesRulesLastSync)
    
    		case kubeproxyconfig.ProxyModeIPVS:
    			legacyregistry.MustRegister(IPTablesRestoreFailuresTotal)
    
    		case kubeproxyconfig.ProxyModeNFTables:
    			legacyregistry.MustRegister(NFTablesSyncFailuresTotal)
    			legacyregistry.MustRegister(NFTablesCleanupFailuresTotal)
    
    		case kubeproxyconfig.ProxyModeKernelspace:
    			// currently no winkernel-specific metrics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/validation/validation_test.go

    		},
    		"iptables is allowed": {
    			mode: kubeproxyconfig.ProxyModeIPTables,
    		},
    		"ipvs is allowed": {
    			mode: kubeproxyconfig.ProxyModeIPVS,
    		},
    		"nftables is allowed": {
    			mode: kubeproxyconfig.ProxyModeNFTables,
    		},
    		"winkernel is not allowed": {
    			mode:         kubeproxyconfig.ProxyModeKernelspace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/types.go

    // will exit with an error.
    type ProxyMode string
    
    const (
    	ProxyModeIPTables    ProxyMode = "iptables"
    	ProxyModeIPVS        ProxyMode = "ipvs"
    	ProxyModeNFTables    ProxyMode = "nftables"
    	ProxyModeKernelspace ProxyMode = "kernelspace"
    )
    
    func (m *ProxyMode) Set(s string) error {
    	*m = ProxyMode(s)
    	return nil
    }
    
    func (m *ProxyMode) String() string {
    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/nftables/proxier_test.go

    // rules are exactly as expected.
    func TestOverallNFTablesRules(t *testing.T) {
    	nft, fp := NewFakeProxier(v1.IPv4Protocol)
    	metrics.RegisterMetrics(kubeproxyconfig.ProxyModeNFTables)
    
    	makeServiceMap(fp,
    		// create ClusterIP service
    		makeTestService("ns1", "svc1", func(svc *v1.Service) {
    			svc.Spec.ClusterIP = "172.30.0.41"
    			svc.Spec.Ports = []v1.ServicePort{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top