Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for nftables (0.2 sec)

  1. cmd/kube-proxy/app/server_linux.go

    		logger.Info("Using nftables Proxier")
    
    		if dualStack {
    			// TODO this has side effects that should only happen when Run() is invoked.
    			proxier, err = nftables.NewDualStackProxier(
    				ctx,
    				config.NFTables.SyncPeriod.Duration,
    				config.NFTables.MinSyncPeriod.Duration,
    				config.NFTables.MasqueradeAll,
    				int(*config.NFTables.MasqueradeBit),
    				localDetectors,
    				s.Hostname,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. pkg/proxy/apis/config/types.go

    	Mode ProxyMode
    	// iptables contains iptables-related configuration options.
    	IPTables KubeProxyIPTablesConfiguration
    	// ipvs contains ipvs-related configuration options.
    	IPVS KubeProxyIPVSConfiguration
    	// winkernel contains winkernel-related configuration options.
    	Winkernel KubeProxyWinkernelConfiguration
    	// nftables contains nftables-related configuration options.
    	NFTables KubeProxyNFTablesConfiguration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pkg/proxy/metrics/metrics.go

    	// proxy has seen.
    	NFTablesSyncFailuresTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeProxySubsystem,
    			Name:           "sync_proxy_rules_nftables_sync_failures_total",
    			Help:           "Cumulative proxy nftables sync failures",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// NFTablesCleanupFailuresTotal is the number of nftables stale chain cleanup
    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/v1alpha1/zz_generated.conversion.go

    		return err
    	}
    	if err := Convert_v1alpha1_KubeProxyIPVSConfiguration_To_config_KubeProxyIPVSConfiguration(&in.IPVS, &out.IPVS, s); err != nil {
    		return err
    	}
    	if err := Convert_v1alpha1_KubeProxyNFTablesConfiguration_To_config_KubeProxyNFTablesConfiguration(&in.NFTables, &out.NFTables, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/validation/validation_test.go

    		},
    		"invalid mode non-existent": {
    			mode:         kubeproxyconfig.ProxyMode("non-existing"),
    			expectedErrs: field.ErrorList{field.Invalid(newPath.Child("ProxyMode"), "non-existing", "must be iptables, ipvs, nftables or blank (blank means the best-available proxy [currently iptables])")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/helpers_test.go

    func Test_diffNFTablesChain(t *testing.T) {
    	fake := knftables.NewFake(knftables.IPv4Family, "testing")
    	tx := fake.NewTransaction()
    
    	tx.Add(&knftables.Table{})
    	tx.Add(&knftables.Chain{
    		Name: "mark-masq-chain",
    	})
    	tx.Add(&knftables.Chain{
    		Name: "masquerade-chain",
    	})
    	tx.Add(&knftables.Chain{
    		Name: "empty-chain",
    	})
    
    	tx.Add(&knftables.Rule{
    		Chain: "mark-masq-chain",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_test.go

    	}{
    		{
    			name:               "iptables mode, IPv4 all-zeros bind address",
    			mode:               "iptables",
    			bindAddress:        "0.0.0.0",
    			clusterCIDR:        "1.2.3.0/24",
    			healthzBindAddress: "1.2.3.4:12345",
    			metricsBindAddress: "2.3.4.5:23456",
    		},
    		{
    			name:               "iptables mode, non-zeros IPv4 config",
    			mode:               "iptables",
    			bindAddress:        "9.8.7.6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. 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)
  9. cluster/gce/config-test.sh

    # as an addon daemonset.
    KUBE_PROXY_DISABLE="${KUBE_PROXY_DISABLE:-false}" # true, false
    
    # Optional: Change the kube-proxy implementation. Choices are [iptables, ipvs, nftables].
    KUBE_PROXY_MODE=${KUBE_PROXY_MODE:-iptables}
    
    # Will be passed into the kube-proxy via `--detect-local-mode`
    DETECT_LOCAL_MODE="${DETECT_LOCAL_MODE:-NodeCIDR}"
    
    # Optional: duration of cluster signed certificates.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/kube-proxy/config/v1alpha1,KubeProxyConfiguration,IPTables
    API rule violation: names_match,k8s.io/kube-proxy/config/v1alpha1,KubeProxyConfiguration,NFTables
    API rule violation: names_match,k8s.io/kubelet/config/v1beta1,KubeletConfiguration,IPTablesDropBit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top