Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for podMaxBackoffSeconds (0.31 sec)

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

    					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,
    						SchedulerName: ptr.To("default-scheduler"),
    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/options/options_test.go

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

    		o.podInitialBackoffSeconds = podInitialBackoffSeconds
    	}
    }
    
    // WithPodMaxBackoffSeconds sets podMaxBackoffSeconds for Scheduler, the default value is 10
    func WithPodMaxBackoffSeconds(podMaxBackoffSeconds int64) Option {
    	return func(o *schedulerOptions) {
    		o.podMaxBackoffSeconds = podMaxBackoffSeconds
    	}
    }
    
    // WithPodMaxInUnschedulablePodsDuration sets podMaxInUnschedulablePodsDuration for PriorityQueue.
    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

    			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),
    			Plugins: &config.Plugins{
    				QueueSort: config.PluginSet{
    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/validation/validation.go

    		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"),
    			cc.PodMaxBackoffSeconds, "must be greater than or equal to PodInitialBackoffSeconds"))
    	}
    
    	errs = append(errs, validateExtenders(field.NewPath("extenders"), cc.Extenders)...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/v1/defaults.go

    	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
    	if obj.EnableProfiling == nil {
    		obj.EnableProfiling = ptr.To(true)
    	}
    
    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/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
          kind: InterPodAffinityArgs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/zz_generated.conversion.go

    	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
    	}
    	if in.Profiles != nil {
    		in, out := &in.Profiles, &out.Profiles
    		*out = make([]config.KubeSchedulerProfile, len(*in))
    		for i := range *in {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/types.go

    	// 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,
    	// the default value (10s) will be used.
    	PodMaxBackoffSeconds int64
    
    	// Profiles are scheduling profiles that kube-scheduler supports. Pods can
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. cmd/kube-scheduler/app/server.go

    		scheduler.WithPercentageOfNodesToScore(cc.ComponentConfig.PercentageOfNodesToScore),
    		scheduler.WithFrameworkOutOfTreeRegistry(outOfTreeRegistry),
    		scheduler.WithPodMaxBackoffSeconds(cc.ComponentConfig.PodMaxBackoffSeconds),
    		scheduler.WithPodInitialBackoffSeconds(cc.ComponentConfig.PodInitialBackoffSeconds),
    		scheduler.WithPodMaxInUnschedulablePodsDuration(cc.PodMaxInUnschedulablePodsDuration),
    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