You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the mpi-operator does not support the Runpolicy.SchedulingPolicy. For example, we don't respect the SchedulingPolicy.MinAvailable when we create the PodGroup in the following:
Also, supporting the SchedulingPolicy, we can set the various PodGroup parameters for the coscheduling-plugin.
// PodGroupSpec represents the template of a pod group.typePodGroupSpecstruct {
// MinMember defines the minimal number of members/tasks to run the pod group;// if there's not enough resources to start all tasks, the scheduler// will not start anyone.MinMemberint32`json:"minMember,omitempty"`// MinResources defines the minimal resource of members/tasks to run the pod group;// if there's not enough resources to start all tasks, the scheduler// will not start anyone.MinResources v1.ResourceList`json:"minResources,omitempty"`// ScheduleTimeoutSeconds defines the maximal time of members/tasks to wait before run the pod group;ScheduleTimeoutSeconds*int32`json:"scheduleTimeoutSeconds,omitempty"`
}
/kind feature
Currently, the mpi-operator does not support the
Runpolicy.SchedulingPolicy
. For example, we don't respect theSchedulingPolicy.MinAvailable
when we create the PodGroup in the following:mpi-operator/pkg/controller/mpi_job_controller.go
Lines 1291 to 1316 in 5f1914b
Also, supporting the SchedulingPolicy, we can set the various PodGroup parameters for the coscheduling-plugin.
https://github.com/kubernetes-sigs/scheduler-plugins/blob/f996e5caf6c77d521d574186dca793e351c45413/apis/scheduling/v1alpha1/types.go#L139-L153
The text was updated successfully, but these errors were encountered: