Skip to content

Commit a5ecee1

Browse files
committed
DRA: more ResourceClass -> DeviceClass
1 parent e019e3f commit a5ecee1

File tree

1 file changed

+3
-3
lines changed
  • keps/sig-node/4381-dra-structured-parameters

1 file changed

+3
-3
lines changed

keps/sig-node/4381-dra-structured-parameters/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,15 +2067,15 @@ event handlers, so not everything is checked.
20672067
#### Pre-filter
20682068

20692069
This is a more thorough version of the checks done by PreEnqueue. It ensures
2070-
that all information that is needed (ResourceClaim, ResourceClass, parameters)
2070+
that all information that is needed (ResourceClaim, DeviceClass, parameters)
20712071
is available.
20722072

20732073
Another reason why a Pod might not be schedulable is when it depends on claims
20742074
which are in the process of being allocated. That process starts in Reserve and
20752075
ends in PreBind or Unreserve (see below).
20762076

20772077
It then prepares for filtering by converting information stored in various
2078-
places (node filter in ResourceClass, available resources in ResourceSlices,
2078+
places (node filter in DeviceClass, available resources in ResourceSlices,
20792079
allocated resources in ResourceClaim statuses, in-flight allocations) into a
20802080
format that can be used efficiently by Filter.
20812081

@@ -2535,7 +2535,7 @@ with CDI support. A [test driver](https://github.com/kubernetes/kubernetes/tree/
25352535
was developed in parallel to developing the
25362536
code in Kubernetes.
25372537

2538-
That test driver simply takes parameters from ResourceClass
2538+
That test driver simply takes parameters from DeviceClass
25392539
and ResourceClaim and turns them into environment variables that then get
25402540
checked inside containers. Tests for different behavior of an driver in various
25412541
scenarios can be simulated by running the control-plane part of it in the E2E

0 commit comments

Comments
 (0)