Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SyncPeriod (0.14 sec)

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

    			expectedErrs: field.ErrorList{},
    		},
    		"SyncPeriod must be > 0": {
    			config: kubeproxyconfig.KubeProxyIPTablesConfiguration{
    				MasqueradeAll: true,
    				SyncPeriod:    metav1.Duration{Duration: -5 * time.Second},
    				MinSyncPeriod: metav1.Duration{Duration: 2 * 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/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)
  3. pkg/proxy/apis/config/validation/validation.go

    	if config.SyncPeriod.Duration <= 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("SyncPeriod"), config.SyncPeriod, "must be greater than 0"))
    	}
    
    	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)
  4. pkg/proxy/winkernel/proxier_test.go

    	proxier.endpointsChanges = endpointsChangeTracker
    	proxier.serviceChanges = serviceChanges
    
    	return proxier
    }
    
    func TestCreateServiceVip(t *testing.T) {
    	syncPeriod := 30 * time.Second
    	proxier := NewFakeProxier(syncPeriod, syncPeriod, "testhost", netutils.ParseIPSloppy("10.0.0.1"), NETWORK_TYPE_OVERLAY)
    	if proxier == nil {
    		t.Error()
    	}
    
    	svcIP := "10.20.30.41"
    	svcPort := 80
    	svcNodePort := 3001
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/types.go

    	// iptables mode and IPv4; localhost NodePorts are never allowed with other proxy
    	// modes or with IPv6.)
    	LocalhostNodePorts *bool
    	// syncPeriod is an interval (e.g. '5s', '1m', '2h22m') indicating how frequently
    	// various re-synchronizing and cleanup operations are performed. Must be greater
    	// than 0.
    	SyncPeriod metav1.Duration
    	// minSyncPeriod is the minimum period between iptables rule resyncs (e.g. '5s',
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_linux.go

    			// TODO this has side effects that should only happen when Run() is invoked.
    			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,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_test.go

    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"
    oomScoreAdj: 17
    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. cmd/kube-proxy/app/server_linux_test.go

    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
    portRange: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. cmd/kube-proxy/app/server.go

    	fs.DurationVar(&o.config.IPTables.SyncPeriod.Duration, "iptables-sync-period", o.config.IPTables.SyncPeriod.Duration, "An interval (e.g. '5s', '1m', '2h22m') indicating how frequently various re-synchronizing and cleanup operations are performed. Must be greater than 0.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller_base.go

    // ControllerParameters contains arguments for creation of a new
    // PersistentVolume controller.
    type ControllerParameters struct {
    	KubeClient                clientset.Interface
    	SyncPeriod                time.Duration
    	VolumePlugins             []vol.VolumePlugin
    	VolumeInformer            coreinformers.PersistentVolumeInformer
    	ClaimInformer             coreinformers.PersistentVolumeClaimInformer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top