Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for renewDeadline (0.24 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)
  5. pilot/pkg/leaderelection/leaderelection.go

    			LockConfig: k8sresourcelock.ResourceLockConfig{
    				Identity: l.name,
    			},
    		}
    	}
    
    	config := k8sleaderelection.LeaderElectionConfig{
    		Lock:          lock,
    		LeaseDuration: l.ttl,
    		RenewDeadline: l.ttl / 2,
    		RetryPeriod:   l.ttl / 4,
    		Callbacks:     callbacks,
    		// When Pilot exits, the lease will be dropped. This is more likely to lead to a case where
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/options_test.go

    				LeaderElection: componentbaseconfig.LeaderElectionConfiguration{
    					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",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top