You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Scheduling for Extended Resource backed by DRA](#scheduling-for-extended-resource-backed-by-dra)
@@ -214,7 +215,7 @@ non-goals of this KEP.
214
215
extended resource requests.
215
216
216
217
* Enable application operators to use the existing extended resource request in
217
-
pod spec to request for DRA resources.
218
+
pod spec to request DRA resources.
218
219
219
220
* Extended resource support is not added just for easing the transition to DRA
220
221
for the short term. Its ease of use is one big advantage to keep it remaining
@@ -265,7 +266,7 @@ device plugin, extended resource backed by DRA, and dynamic resource.
265
266
* extended resource backed by device plugin uses pod's
266
267
spec.containers[].resources.requests to request for resources, it consumes the capacity
267
268
from node's status.capacity. It is of type (string, int64)
268
-
* dynamic resource uses `ResourceClaim` to request for resources, and
269
+
* dynamic resource uses `ResourceClaim` to request resources, and
269
270
`ResourceSlice`to provide resource capacity. A pod asks for resources through
270
271
resource claim requests in pod's spec.resources.claims. Dynamic resource type
271
272
is described in resource slice, simply speaking, it is a list of devices, with
@@ -365,7 +366,7 @@ garbage collector.
365
366
* It is *deleted*
366
367
* either together with the owning pod's deletion.
367
368
* or by the scheduler dynamic resource plugin during unReserve phase.
368
-
* or by the scheduler dynamic resource plugin during PostFilter phase.
369
+
* or by the scheduler dynamic resource plugin during postFilter phase.
369
370
* It is *discovered* by the kubelet via `pod.Status.ExtendedResourceClaimStatus`
370
371
* It is *read* by the kubelet DRA device driver to prepare the devices listed
371
372
therein when preparing to run the pod.
@@ -391,13 +392,15 @@ resource requests. For example, if the first container in the pod has an
391
392
extended resource backed by DRA which is the 3rd such request in the container,
392
393
then the name of the `DeviceRequest` is "container-0-request-2".
393
394
394
-
Documenting this naming is merely informational, it is not part of the API. The kubelet must not rely on it. Instead, the `ContainerExtendedResourceRequest` field below specifies the mapping.
395
+
Documenting this naming is merely informational, it is not part of the API.
396
+
The kubelet must not rely on it. Instead, the
397
+
`ContainerExtendedResourceRequest` field below specifies the mapping.
395
398
396
399
### Pod API
397
400
398
401
A new field `extendedResourceClaimStatus` is added to Pod's status to track
399
-
the special `ResouceClaim` object created for the extended resource requests
400
-
in the pod. This is needed for kublet to pass the devices allocated by driver
402
+
the special `RresouceClaim` object created for the extended resource requests
403
+
in the pod. This is needed for kubelet to pass the devices allocated by driver
401
404
to the containers in the pod.
402
405
403
406
```go
@@ -454,12 +457,12 @@ then the pod's status is like below:
0 commit comments