Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for renewDeadline (0.5 sec)

  1. pkg/scheduler/apis/config/v1/defaults_test.go

    				},
    				LeaderElection: componentbaseconfig.LeaderElectionConfiguration{
    					LeaderElect:       ptr.To(true),
    					LeaseDuration:     metav1.Duration{Duration: 15 * time.Second},
    					RenewDeadline:     metav1.Duration{Duration: 10 * time.Second},
    					RetryPeriod:       metav1.Duration{Duration: 2 * time.Second},
    					ResourceLock:      "leases",
    					ResourceNamespace: "kube-system",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/server_test.go

    				LeaderElect:       false,                                    // from CLI args
    				LeaseDuration:     metav1.Duration{Duration: 2 * time.Hour}, // from CLI args
    				RenewDeadline:     metav1.Duration{Duration: 10 * time.Second},
    				RetryPeriod:       metav1.Duration{Duration: 2 * time.Second},
    				ResourceLock:      "leases",
    				ResourceName:      configv1.SchedulerDefaultLockObjectName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/validation/validation_test.go

    		},
    		LeaderElection: componentbaseconfig.LeaderElectionConfiguration{
    			ResourceLock:      "leases",
    			LeaderElect:       true,
    			LeaseDuration:     metav1.Duration{Duration: 30 * time.Second},
    			RenewDeadline:     metav1.Duration{Duration: 15 * time.Second},
    			RetryPeriod:       metav1.Duration{Duration: 5 * time.Second},
    			ResourceNamespace: "name",
    			ResourceName:      "name",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/controllermanager.go

    		c.Kubeconfig,
    		c.ComponentConfig.Generic.LeaderElection.RenewDeadline.Duration)
    	if err != nil {
    		logger.Error(err, "Error creating lock")
    		klog.FlushAndExit(klog.ExitFlushTimeout, 1)
    	}
    
    	leaderelection.RunOrDie(ctx, leaderelection.LeaderElectionConfig{
    		Lock:          rl,
    		LeaseDuration: c.ComponentConfig.Generic.LeaderElection.LeaseDuration.Duration,
    		RenewDeadline: c.ComponentConfig.Generic.LeaderElection.RenewDeadline.Duration,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top