Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 140 for minDomains (0.31 sec)

  1. pkg/apis/core/types.go

    	LabelSelector *metav1.LabelSelector
    	// MinDomains indicates a minimum number of eligible domains.
    	// When the number of eligible domains with matching topology keys is less than minDomains,
    	// Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
    	// And when the number of eligible domains with matching topology keys equals or greater than minDomains,
    	// this value has no effect on scheduling.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation.go

    func validateMinDomains(fldPath *field.Path, minDomains *int32, action core.UnsatisfiableConstraintAction) field.ErrorList {
    	if minDomains == nil {
    		return nil
    	}
    	var allErrs field.ErrorList
    	if *minDomains <= 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath, minDomains, isNotPositiveErrorMsg))
    	}
    	// When MinDomains is non-nil, whenUnsatisfiable must be DoNotSchedule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/types.go

    	// The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
    	// In this situation, new pod with the same labelSelector cannot be scheduled,
    	// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
    	// it will violate MaxSkew.
    	// +optional
    	MinDomains *int32 `json:"minDomains,omitempty" protobuf:"varint,5,opt,name=minDomains"`
    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. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"minDomains":         "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/generated.proto

      // MinDomains indicates a minimum number of eligible domains.
      // When the number of eligible domains with matching topology keys is less than minDomains,
      // Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
      // And when the number of eligible domains with matching topology keys equals or greater than minDomains,
      // this value has no effect on scheduling.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation_test.go

    	}, {
    		name: "can use MinDomains with ScheduleAnyway, when MinDomains = nil",
    		constraints: []core.TopologySpreadConstraint{{
    			MaxSkew:           1,
    			TopologyKey:       "k8s.io/zone",
    			WhenUnsatisfiable: core.ScheduleAnyway,
    			MinDomains:        nil,
    		}},
    		wantFieldErrors: field.ErrorList{},
    	}, {
    		name: "negative minDomains is invalid",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  7. pkg/features/kube_features.go

    	MemoryQoS featuregate.Feature = "MemoryQoS"
    
    	// owner: @sanposhiho
    	// kep: https://kep.k8s.io/3022
    	// alpha: v1.24
    	// beta: v1.25
    	// GA: v1.30
    	//
    	// Enable MinDomains in Pod Topology Spread.
    	MinDomainsInPodTopologySpread featuregate.Feature = "MinDomainsInPodTopologySpread"
    
    	// owner: @aojea
    	// kep: https://kep.k8s.io/1880
    	// alpha: v1.27
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__batch__v1_openapi.json

              },
              "minDomains": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  9. pkg/apis/core/zz_generated.deepcopy.go

    	*out = *in
    	if in.LabelSelector != nil {
    		in, out := &in.LabelSelector, &out.LabelSelector
    		*out = new(v1.LabelSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.MinDomains != nil {
    		in, out := &in.MinDomains, &out.MinDomains
    		*out = new(int32)
    		**out = **in
    	}
    	if in.NodeAffinityPolicy != nil {
    		in, out := &in.NodeAffinityPolicy, &out.NodeAffinityPolicy
    		*out = new(NodeInclusionPolicy)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    	*out = *in
    	if in.LabelSelector != nil {
    		in, out := &in.LabelSelector, &out.LabelSelector
    		*out = new(metav1.LabelSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.MinDomains != nil {
    		in, out := &in.MinDomains, &out.MinDomains
    		*out = new(int32)
    		**out = **in
    	}
    	if in.NodeAffinityPolicy != nil {
    		in, out := &in.NodeAffinityPolicy, &out.NodeAffinityPolicy
    		*out = new(NodeInclusionPolicy)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
Back to top