Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 146 for MaxSkew (3.6 sec)

  1. pkg/apis/core/validation/validation_test.go

    			{MaxSkew: 1, TopologyKey: "k8s.io/zone", WhenUnsatisfiable: core.DoNotSchedule},
    			{MaxSkew: 2, TopologyKey: "k8s.io/node", WhenUnsatisfiable: core.ScheduleAnyway},
    		},
    		wantFieldErrors: field.ErrorList{},
    	}, {
    		name: "multiple constraints missing TopologyKey on partial ones",
    		constraints: []core.TopologySpreadConstraint{
    			{MaxSkew: 1, WhenUnsatisfiable: core.ScheduleAnyway},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/core/v1/generated.proto

      // violate MaxSkew(1).
      // - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
      // When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
      // to topologies that satisfy it.
      // It's a required field. Default value is 1 and 0 is not allowed.
      optional int32 maxSkew = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/types.go

    	// violate MaxSkew(1).
    	// - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
    	// When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
    	// to topologies that satisfy it.
    	// It's a required field. Default value is 1 and 0 is not allowed.
    	MaxSkew int32 `json:"maxSkew" protobuf:"varint,1,opt,name=maxSkew"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__batch__v1_openapi.json

    eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | |  P P  |  P P  |   P   | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfia...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    }
    
    var map_TopologySpreadConstraint = map[string]string{
    	"":                   "TopologySpreadConstraint specifies how to spread matching pods among the given topology.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    			name:  "test error with priority map",
    			wErr:  fmt.Errorf("running Score plugins: %w", fmt.Errorf(`plugin "FalseMap" failed with: %w`, errPrioritize)),
    		},
    		{
    			name: "test podtopologyspread plugin - 2 nodes with maxskew=1",
    			registerPlugins: []tf.RegisterPluginFunc{
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    				tf.RegisterPluginAsExtensions(
    					podtopologyspread.Name,
    					podTopologySpreadFunc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  7. pkg/apis/core/validation/validation.go

    		}
    	}
    
    	return allErrs
    }
    
    // ValidateMaxSkew tests that the argument is a valid MaxSkew.
    func ValidateMaxSkew(fldPath *field.Path, maxSkew int32) *field.Error {
    	if maxSkew <= 0 {
    		return field.Invalid(fldPath, maxSkew, isNotPositiveErrorMsg)
    	}
    	return nil
    }
    
    // validateMinDomains tests that the argument is a valid MinDomains.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__apps__v1_openapi.json

    eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | |  P P  |  P P  |   P   | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfia...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 810.7K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(in *v1.TopologySpreadConstraint, out *core.TopologySpreadConstraint, s conversion.Scope) error {
    	out.MaxSkew = in.MaxSkew
    	out.TopologyKey = in.TopologyKey
    	out.WhenUnsatisfiable = core.UnsatisfiableConstraintAction(in.WhenUnsatisfiable)
    	out.LabelSelector = (*metav1.LabelSelector)(unsafe.Pointer(in.LabelSelector))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/api__v1_openapi.json

    eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | |  P P  |  P P  |   P   | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfia...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
Back to top