Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for PodInitialBackoffSeconds (0.29 sec)

  1. pkg/scheduler/apis/config/validation/validation.go

    	if cc.PodInitialBackoffSeconds <= 0 {
    		errs = append(errs, field.Invalid(field.NewPath("podInitialBackoffSeconds"),
    			cc.PodInitialBackoffSeconds, "must be greater than 0"))
    	}
    	if cc.PodMaxBackoffSeconds < cc.PodInitialBackoffSeconds {
    		errs = append(errs, field.Invalid(field.NewPath("podMaxBackoffSeconds"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/v1/defaults_test.go

    					QPS:         50,
    					Burst:       100,
    					ContentType: "application/vnd.kubernetes.protobuf",
    				},
    				PercentageOfNodesToScore: ptr.To[int32](config.DefaultPercentageOfNodesToScore),
    				PodInitialBackoffSeconds: ptr.To[int64](1),
    				PodMaxBackoffSeconds:     ptr.To[int64](10),
    				Profiles: []configv1.KubeSchedulerProfile{
    					{
    						Plugins:       getDefaultPlugins(),
    						PluginConfig:  pluginConfigs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/options/options_test.go

    					QPS:         50,
    					Burst:       100,
    					ContentType: "application/vnd.kubernetes.protobuf",
    				},
    				PercentageOfNodesToScore: defaultPercentageOfNodesToScore,
    				PodInitialBackoffSeconds: defaultPodInitialBackoffSeconds,
    				PodMaxBackoffSeconds:     defaultPodMaxBackoffSeconds,
    				Profiles: []kubeschedulerconfig.KubeSchedulerProfile{
    					{
    						SchedulerName: "default-scheduler",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  4. pkg/scheduler/scheduler.go

    		o.frameworkOutOfTreeRegistry = registry
    	}
    }
    
    // WithPodInitialBackoffSeconds sets podInitialBackoffSeconds for Scheduler, the default value is 1
    func WithPodInitialBackoffSeconds(podInitialBackoffSeconds int64) Option {
    	return func(o *schedulerOptions) {
    		o.podInitialBackoffSeconds = podInitialBackoffSeconds
    	}
    }
    
    // WithPodMaxBackoffSeconds sets podMaxBackoffSeconds for Scheduler, the default value is 10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/validation/validation_test.go

    			RenewDeadline:     metav1.Duration{Duration: 15 * time.Second},
    			RetryPeriod:       metav1.Duration{Duration: 5 * time.Second},
    			ResourceNamespace: "name",
    			ResourceName:      "name",
    		},
    		PodInitialBackoffSeconds: podInitialBackoffSeconds,
    		PodMaxBackoffSeconds:     podMaxBackoffSeconds,
    		Profiles: []config.KubeSchedulerProfile{{
    			SchedulerName:            "me",
    			PercentageOfNodesToScore: ptr.To[int32](35),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/v1/defaults.go

    	}
    
    	// Use the default LeaderElectionConfiguration options
    	componentbaseconfigv1alpha1.RecommendedDefaultLeaderElectionConfiguration(&obj.LeaderElection)
    
    	if obj.PodInitialBackoffSeconds == nil {
    		obj.PodInitialBackoffSeconds = ptr.To[int64](1)
    	}
    
    	if obj.PodMaxBackoffSeconds == nil {
    		obj.PodMaxBackoffSeconds = ptr.To[int64](10)
    	}
    
    	// Enable profiling by default in the scheduler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/types.go

    	PercentageOfNodesToScore *int32
    
    	// PodInitialBackoffSeconds is the initial backoff for unschedulable pods.
    	// If specified, it must be greater than 0. If this value is null, the default value (1s)
    	// will be used.
    	PodInitialBackoffSeconds int64
    
    	// PodMaxBackoffSeconds is the max backoff for unschedulable pods.
    	// If specified, it must be greater than or equal to podInitialBackoffSeconds. If this value is null,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/scheme/scheme_test.go

    leaderElection:
      leaderElect: false
      leaseDuration: 0s
      renewDeadline: 0s
      resourceLock: ""
      resourceName: ""
      resourceNamespace: ""
      retryPeriod: 0s
    parallelism: 8
    podInitialBackoffSeconds: 0
    podMaxBackoffSeconds: 0
    profiles:
    - pluginConfig:
      - args:
          apiVersion: kubescheduler.config.k8s.io/v1
          hardPodAffinityWeight: 5
          ignorePreferredTermsOfExistingPods: false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/v1/zz_generated.conversion.go

    		return err
    	}
    	out.PercentageOfNodesToScore = (*int32)(unsafe.Pointer(in.PercentageOfNodesToScore))
    	if err := metav1.Convert_Pointer_int64_To_int64(&in.PodInitialBackoffSeconds, &out.PodInitialBackoffSeconds, s); err != nil {
    		return err
    	}
    	if err := metav1.Convert_Pointer_int64_To_int64(&in.PodMaxBackoffSeconds, &out.PodMaxBackoffSeconds, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. cmd/kube-scheduler/app/server.go

    		scheduler.WithFrameworkOutOfTreeRegistry(outOfTreeRegistry),
    		scheduler.WithPodMaxBackoffSeconds(cc.ComponentConfig.PodMaxBackoffSeconds),
    		scheduler.WithPodInitialBackoffSeconds(cc.ComponentConfig.PodInitialBackoffSeconds),
    		scheduler.WithPodMaxInUnschedulablePodsDuration(cc.PodMaxInUnschedulablePodsDuration),
    		scheduler.WithExtenders(cc.ComponentConfig.Extenders...),
    		scheduler.WithParallelism(cc.ComponentConfig.Parallelism),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top