- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UnsatisfiableConstraintAction (0.42 sec)
-
pkg/scheduler/apis/config/validation/validation_pluginargs.go
} else { allErrs = append(allErrs, metav1validation.ValidateLabelName(v, p)...) } return allErrs } func validateWhenUnsatisfiable(p *field.Path, v v1.UnsatisfiableConstraintAction) *field.Error { supportedScheduleActions := sets.New(string(v1.DoNotSchedule), string(v1.ScheduleAnyway)) if len(v) == 0 { return field.Required(p, "can not be empty") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 09:29:49 UTC 2023 - 12.9K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
return p } // SpreadConstraint constructs a TopologySpreadConstraint object and injects // into the inner pod. func (p *PodWrapper) SpreadConstraint(maxSkew int, tpKey string, mode v1.UnsatisfiableConstraintAction, selector *metav1.LabelSelector, minDomains *int32, nodeAffinityPolicy, nodeTaintsPolicy *v1.NodeInclusionPolicy, matchLabelKeys []string) *PodWrapper { c := v1.TopologySpreadConstraint{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0)