Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for RetryPeriod (0.1 sec)

  1. cmd/kube-controller-manager/app/options/options_test.go

    					ResourceLock:      "configmap",
    					LeaderElect:       false,
    					LeaseDuration:     metav1.Duration{Duration: 30 * time.Second},
    					RenewDeadline:     metav1.Duration{Duration: 15 * time.Second},
    					RetryPeriod:       metav1.Duration{Duration: 5 * time.Second},
    					ResourceName:      "kube-controller-manager",
    					ResourceNamespace: "kube-system",
    				},
    				Controllers: []string{"foo", "bar"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/controllermanager.go

    		Lock:          rl,
    		LeaseDuration: c.ComponentConfig.Generic.LeaderElection.LeaseDuration.Duration,
    		RenewDeadline: c.ComponentConfig.Generic.LeaderElection.RenewDeadline.Duration,
    		RetryPeriod:   c.ComponentConfig.Generic.LeaderElection.RetryPeriod.Duration,
    		Callbacks:     callbacks,
    		WatchDog:      electionChecker,
    		Name:          leaseName,
    	})
    
    	panic("unreachable")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/k8sleaderelection/leaderelection_test.go

    	if err != nil {
    		t.Fatal("resourcelock.New() = ", err)
    	}
    
    	lec := LeaderElectionConfig{
    		Lock:          lock,
    		LeaseDuration: 40 * time.Millisecond,
    		RenewDeadline: 20 * time.Millisecond,
    		RetryPeriod:   10 * time.Millisecond,
    
    		// This is what we're testing
    		ReleaseOnCancel: true,
    
    		Callbacks: LeaderCallbacks{
    			OnNewLeader:      func(identity string) {},
    			OnStoppedLeading: func() {},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 16:39:43 UTC 2023
    - 42.5K bytes
    - Viewed (0)
Back to top