Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 142 for whenUnsatisfiable (0.52 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/batch.v1beta1.CronJob.yaml

                maxSkew: 1
                minDomains: 5
                nodeAffinityPolicy: nodeAffinityPolicyValue
                nodeTaintsPolicy: nodeTaintsPolicyValue
                topologyKey: topologyKeyValue
                whenUnsatisfiable: whenUnsatisfiableValue
              volumes:
              - awsElasticBlockStore:
                  fsType: fsTypeValue
                  partition: 3
                  readOnly: true
                  volumeID: volumeIDValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.StatefulSet.yaml

            maxSkew: 1
            minDomains: 5
            nodeAffinityPolicy: nodeAffinityPolicyValue
            nodeTaintsPolicy: nodeTaintsPolicyValue
            topologyKey: topologyKeyValue
            whenUnsatisfiable: whenUnsatisfiableValue
          volumes:
          - awsElasticBlockStore:
              fsType: fsTypeValue
              partition: 3
              readOnly: true
              volumeID: volumeIDValue
            azureDisk:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta1.StatefulSet.yaml

            maxSkew: 1
            minDomains: 5
            nodeAffinityPolicy: nodeAffinityPolicyValue
            nodeTaintsPolicy: nodeTaintsPolicyValue
            topologyKey: topologyKeyValue
            whenUnsatisfiable: whenUnsatisfiableValue
          volumes:
          - awsElasticBlockStore:
              fsType: fsTypeValue
              partition: 3
              readOnly: true
              volumeID: volumeIDValue
            azureDisk:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  4. 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)
  5. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    			defaultConstraints: []v1.TopologySpreadConstraint{
    				{MaxSkew: 3, TopologyKey: "node", WhenUnsatisfiable: v1.DoNotSchedule},
    				{MaxSkew: 2, TopologyKey: "node", WhenUnsatisfiable: v1.ScheduleAnyway},
    				{MaxSkew: 5, TopologyKey: "rack", WhenUnsatisfiable: v1.DoNotSchedule},
    			},
    			objs: []runtime.Object{
    				&v1.Service{Spec: v1.ServiceSpec{Selector: map[string]string{"foo": "bar"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation.go

    		}
    		if err := ValidateWhenUnsatisfiable(subFldPath.Child("whenUnsatisfiable"), constraint.WhenUnsatisfiable); err != nil {
    			allErrs = append(allErrs, err)
    		}
    		// tuple {topologyKey, whenUnsatisfiable} denotes one kind of spread constraint
    		if err := ValidateSpreadConstraintNotRepeat(subFldPath.Child("{topologyKey, whenUnsatisfiable}"), constraint, constraints[i+1:]); err != nil {
    			allErrs = append(allErrs, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

      // +-------+-------+-------+
      // If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
      // to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
      // MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
      // won't make it *more* imbalanced.
      // It's a required field.
      optional string whenUnsatisfiable = 3;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  8. pkg/scheduler/testing/wrappers.go

    	c := v1.TopologySpreadConstraint{
    		MaxSkew:            int32(maxSkew),
    		TopologyKey:        tpKey,
    		WhenUnsatisfiable:  mode,
    		LabelSelector:      selector,
    		MinDomains:         minDomains,
    		NodeAffinityPolicy: nodeAffinityPolicy,
    		NodeTaintsPolicy:   nodeTaintsPolicy,
    		MatchLabelKeys:     matchLabelKeys,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/types.go

    	// +-------+-------+-------+
    	// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
    	// to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
    	// MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
    	// won't make it *more* imbalanced.
    	// It's a required field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  10. pkg/apis/core/types.go

    	// +-------+-------+-------+
    	// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
    	// to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
    	// MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
    	// won't make it *more* imbalanced.
    	// It's a required field.
    	WhenUnsatisfiable UnsatisfiableConstraintAction
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
Back to top