Documentation ¶
Index ¶
- Variables
- func CreatePodSetAssigment(createdWorkload *kueue.Workload, podSetsResource []PodSetsResource) []kueue.PodSetAssignment
- func JobControllerWhenWaitForPodsReadyEnabled(ctx context.Context, k8sClient client.Client, ...)
- func ShouldReconcileJob(ctx context.Context, k8sClient client.Client, ...)
- func ShouldScheduleJobsAsTheyFitInTheirClusterQueue(ctx context.Context, k8sClient client.Client, ...)
- type PodSetsResource
- type PodsReadyTestSpec
Constants ¶
This section is empty.
Variables ¶
View Source
var ReplicaTypeWorker = kftraining.ReplicaType("Worker")
Functions ¶
func CreatePodSetAssigment ¶
func CreatePodSetAssigment(createdWorkload *kueue.Workload, podSetsResource []PodSetsResource) []kueue.PodSetAssignment
func JobControllerWhenWaitForPodsReadyEnabled ¶ added in v0.6.0
func JobControllerWhenWaitForPodsReadyEnabled(ctx context.Context, k8sClient client.Client, job, createdJob kubeflowjob.KubeflowJob, podsReadyTestSpec PodsReadyTestSpec, podSetsResources []PodSetsResource)
func ShouldReconcileJob ¶
func ShouldReconcileJob(ctx context.Context, k8sClient client.Client, job, createdJob kubeflowjob.KubeflowJob, podSetsResources []PodSetsResource)
func ShouldScheduleJobsAsTheyFitInTheirClusterQueue ¶ added in v0.6.0
func ShouldScheduleJobsAsTheyFitInTheirClusterQueue(ctx context.Context, k8sClient client.Client, job, createdJob kubeflowjob.KubeflowJob, clusterQueue *kueue.ClusterQueue, podSetsResources []PodSetsResource)
Types ¶
type PodSetsResource ¶
type PodSetsResource struct { RoleName kftraining.ReplicaType ResourceCPU kueue.ResourceFlavorReference }
type PodsReadyTestSpec ¶
type PodsReadyTestSpec struct { BeforeJobStatus *kftraining.JobStatus BeforeCondition *metav1.Condition JobStatus kftraining.JobStatus Suspended bool WantCondition *metav1.Condition }
Click to show internal directories.
Click to hide internal directories.