Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for MinSyncPeriod (0.18 sec)

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

    		},
    		"MinSyncPeriod cannot be less than 0": {
    			config: kubeproxyconfig.KubeProxyIPVSConfiguration{
    				SyncPeriod:    metav1.Duration{Duration: 5 * time.Second},
    				MinSyncPeriod: metav1.Duration{Duration: -1 * time.Second},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. pkg/proxy/apis/config/validation/validation.go

    	}
    
    	if config.MinSyncPeriod.Duration < 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("MinSyncPeriod"), config.MinSyncPeriod, "must be greater than or equal to 0"))
    	}
    
    	if config.MinSyncPeriod.Duration > config.SyncPeriod.Duration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/v1alpha1/zz_generated.conversion.go

    	out.MasqueradeBit = (*int32)(unsafe.Pointer(in.MasqueradeBit))
    	out.MasqueradeAll = in.MasqueradeAll
    	out.LocalhostNodePorts = (*bool)(unsafe.Pointer(in.LocalhostNodePorts))
    	out.SyncPeriod = in.SyncPeriod
    	out.MinSyncPeriod = in.MinSyncPeriod
    	return nil
    }
    
    // Convert_v1alpha1_KubeProxyIPTablesConfiguration_To_config_KubeProxyIPTablesConfiguration is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/types.go

    	// than 0.
    	SyncPeriod metav1.Duration
    	// minSyncPeriod is the minimum period between iptables rule resyncs (e.g. '5s',
    	// '1m', '2h22m'). A value of 0 means every Service or EndpointSlice change will
    	// result in an immediate iptables resync.
    	MinSyncPeriod metav1.Duration
    }
    
    // KubeProxyIPVSConfiguration contains ipvs-related configuration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_linux.go

    			proxier, err = iptables.NewDualStackProxier(
    				ctx,
    				ipt,
    				utilsysctl.New(),
    				exec.New(),
    				config.IPTables.SyncPeriod.Duration,
    				config.IPTables.MinSyncPeriod.Duration,
    				config.IPTables.MasqueradeAll,
    				*config.IPTables.LocalhostNodePorts,
    				int(*config.IPTables.MasqueradeBit),
    				localDetectors,
    				s.Hostname,
    				s.NodeIPs,
    				s.Recorder,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_test.go

    healthzBindAddress: "%s"
    hostnameOverride: "foo"
    iptables:
      masqueradeAll: true
      masqueradeBit: 17
      minSyncPeriod: 10s
      syncPeriod: 60s
      localhostNodePorts: true
    ipvs:
      minSyncPeriod: 10s
      syncPeriod: 60s
      excludeCIDRs:
        - "10.20.30.40/16"
        - "fd00:1::0/64"
    nftables:
      masqueradeAll: true
      masqueradeBit: 18
      minSyncPeriod: 10s
      syncPeriod: 60s
    kind: KubeProxyConfiguration
    metricsBindAddress: "%s"
    mode: "%s"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_linux_test.go

      tcpEstablishedTimeout: 24h0m0s
    enableProfiling: false
    healthzBindAddress: 0.0.0.0:10256
    hostnameOverride: ""
    iptables:
      masqueradeAll: false
      masqueradeBit: 14
      minSyncPeriod: 0s
      syncPeriod: 30s
    ipvs:
      excludeCIDRs: null
      minSyncPeriod: 0s
      scheduler: ""
      syncPeriod: 30s
    kind: KubeProxyConfiguration
    metricsBindAddress: 127.0.0.1:10249
    mode: ""
    nodePortAddresses: null
    oomScoreAdj: -999
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server.go

    	fs.DurationVar(&o.config.IPTables.MinSyncPeriod.Duration, "iptables-min-sync-period", o.config.IPTables.MinSyncPeriod.Duration, "The minimum period between iptables rule resyncs (e.g. '5s', '1m', '2h22m'). A value of 0 means every Service or EndpointSlice change will result in an immediate iptables resync.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  9. pkg/proxy/winkernel/proxier_test.go

    		Id:       networkInfo.id,
    		Name:     networkInfo.name,
    		Type:     hcn.NetworkType(networkInfo.networkType),
    		Policies: policies,
    	}
    	return network
    }
    
    func NewFakeProxier(syncPeriod time.Duration, minSyncPeriod time.Duration, hostname string, nodeIP net.IP, networkType string) *Proxier {
    	sourceVip := "192.168.1.2"
    	var remoteSubnets []*remoteSubnetInfo
    	rs := &remoteSubnetInfo{
    		destinationPrefix: destinationPrefix,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top