Documentation ¶
Index ¶
- Variables
- func CreatePodSetAssignment(createdWorkload *kueue.Workload, podSetsResource []PodSetsResource) []kueue.PodSetAssignment
- func JobControllerWhenWaitForPodsReadyEnabled(ctx context.Context, k8sClient client.Client, ...)
- func ShouldNotReconcileUnmanagedJob(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 CreatePodSetAssignment ¶ added in v0.7.0
func CreatePodSetAssignment(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 ShouldNotReconcileUnmanagedJob ¶ added in v0.10.0
func ShouldNotReconcileUnmanagedJob(ctx context.Context, k8sClient client.Client, job, createdJob kubeflowjob.KubeflowJob)
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.