Run A JobSet
This document explains how you can use Kueue’s scheduling and resource management functionality when running JobSet Operator JobSets.
This guide is for batch users that have a basic understanding of Kueue. For more information, see Kueue’s overview.
Before you begin
-
Check Administer cluster quotas for details on the initial Kueue setup.
-
See JobSet Installation for installation and configuration details of JobSet Operator.
JobSet definition
When running JobSets on Kueue, take into consideration the following aspects:
a. Queue selection
The target local queue should be specified in the metadata.labels
section of the JobSet configuration.
b. Configure the resource needs
The resource needs of the workload can be configured in the spec.replicatedJobs
. Should also be taken into account that number of replicas, parallelism and completions affect the resource calculations.
c. Jobs prioritisation
The first PriorityClassName of spec.replicatedJobs
that is not empty will be used as the priority.
Example JobSet
The JobSet looks like the following:
You can run this JobSet with the following commands:
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.