Skip to content

Commit fd7ba4b

Browse files
committed
clean up files
1 parent 86ac9de commit fd7ba4b

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

configure/using-cohorts.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,16 @@ Cohorts can also help to simplify resource management and allocation between tea
1414
You can also use cohorts to set resource quotas at a group level to define the limits for resources that a group of cluster queues can consume.
1515

1616
include::modules/clusterqueue-configuring-cohorts-reference.adoc[leveloffset=+1]
17+
18+
////
19+
When a ClusterQueue is part of a cohort, Kueue satisfies the following admission semantics:
20+
21+
When assigning flavors, Kueue goes through the list of flavors in the relevant ResourceGroup inside ClusterQueue’s (.spec.resourceGroups[*].flavors). For each flavor, Kueue attempts to fit a Workload’s pod set according to the quota defined in the ClusterQueue for the flavor and the unused quota in the cohort. If the Workload doesn’t fit, Kueue evaluates the next flavor in the list.
22+
23+
A Workload’s pod set resource fits in a flavor defined for a ClusterQueue resource if the sum of requests for the resource:
24+
Is less than or equal to the unused nominalQuota for the flavor in the ClusterQueue; or
25+
Is less than or equal to the sum of unused nominalQuota for the flavor in the ClusterQueues in the cohort, and
26+
Is less than or equal to the unused nominalQuota + borrowingLimit for the flavor in the ClusterQueue. In Kueue, when (2) and (3) are satisfied, but not (1), this is called borrowing quota.
27+
A ClusterQueue can only borrow quota for flavors that the ClusterQueue defines.
28+
For each pod set resource in a Workload, a ClusterQueue can only borrow quota for one flavor.
29+
////

modules/resource-groups-flavors.adoc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,3 @@ spec:
4141
<3> Defines the resource flavor that is applied to the resource types listed in the first resource group. In this example, the `resource-flavor-a` resource flavor is applied to CPU and memory.
4242
<4> Defines the resource types governed the second resource group. This resource group governs pods and GPU resources.
4343
<5> Defines the resource flavor that is applied to the resource types listed in the second resource group. In this example, the `resource-flavor-b` resource flavor is applied to pods and GPU.
44-
45-
46-
47-
When a ClusterQueue is part of a cohort, Kueue satisfies the following admission semantics:
48-
49-
When assigning flavors, Kueue goes through the list of flavors in the relevant ResourceGroup inside ClusterQueue’s (.spec.resourceGroups[*].flavors). For each flavor, Kueue attempts to fit a Workload’s pod set according to the quota defined in the ClusterQueue for the flavor and the unused quota in the cohort. If the Workload doesn’t fit, Kueue evaluates the next flavor in the list.
50-
A Workload’s pod set resource fits in a flavor defined for a ClusterQueue resource if the sum of requests for the resource:
51-
Is less than or equal to the unused nominalQuota for the flavor in the ClusterQueue; or
52-
Is less than or equal to the sum of unused nominalQuota for the flavor in the ClusterQueues in the cohort, and
53-
Is less than or equal to the unused nominalQuota + borrowingLimit for the flavor in the ClusterQueue. In Kueue, when (2) and (3) are satisfied, but not (1), this is called borrowing quota.
54-
A ClusterQueue can only borrow quota for flavors that the ClusterQueue defines.
55-
For each pod set resource in a Workload, a ClusterQueue can only borrow quota for one flavor.

0 commit comments

Comments
 (0)