Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UnsatisfiableConstraintAction (0.32 sec)

  1. pkg/apis/core/types.go

    	DefaultHardPodAffinitySymmetricWeight int32 = 1
    )
    
    // UnsatisfiableConstraintAction defines the actions that can be taken for an
    // unsatisfiable constraint.
    type UnsatisfiableConstraintAction string
    
    const (
    	// DoNotSchedule instructs the scheduler not to schedule the pod
    	// when constraints are not satisfied.
    	DoNotSchedule UnsatisfiableConstraintAction = "DoNotSchedule"
    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. staging/src/k8s.io/api/core/v1/types.go

    	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
    }
    
    // +enum
    type UnsatisfiableConstraintAction string
    
    const (
    	// DoNotSchedule instructs the scheduler not to schedule the pod
    	// when constraints are not satisfied.
    	DoNotSchedule UnsatisfiableConstraintAction = "DoNotSchedule"
    	// ScheduleAnyway instructs the scheduler to schedule the pod
    	// even if constraints are not satisfied.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/validation.go

    		return field.Required(fldPath, "can not be empty")
    	}
    	return nil
    }
    
    // ValidateWhenUnsatisfiable tests that the argument is a valid UnsatisfiableConstraintAction.
    func ValidateWhenUnsatisfiable(fldPath *field.Path, action core.UnsatisfiableConstraintAction) *field.Error {
    	if !supportedScheduleActions.Has(action) {
    		return field.NotSupported(fldPath, action, sets.List(supportedScheduleActions))
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/zz_generated.conversion.go

    	out.MaxSkew = in.MaxSkew
    	out.TopologyKey = in.TopologyKey
    	out.WhenUnsatisfiable = core.UnsatisfiableConstraintAction(in.WhenUnsatisfiable)
    	out.LabelSelector = (*metav1.LabelSelector)(unsafe.Pointer(in.LabelSelector))
    	out.MinDomains = (*int32)(unsafe.Pointer(in.MinDomains))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
Back to top