Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PodInitialBackoffSeconds (0.39 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/generated/openapi/zz_generated.openapi.go

    							Type:        []string{"integer"},
    							Format:      "int32",
    						},
    					},
    					"podInitialBackoffSeconds": {
    						SchemaProps: spec.SchemaProps{
    							Description: "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.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top