Skip to content

Commit f55923c

Browse files
KEP-4680: Update DRA implementation details
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent 397f701 commit f55923c

File tree

1 file changed

+1
-2
lines changed
  • keps/sig-node/4680-add-resource-health-to-pod-status

1 file changed

+1
-2
lines changed

keps/sig-node/4680-add-resource-health-to-pod-status/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,7 @@ We should consider introducing another field to the Status that will be a free f
286286
### DRA implementation details
287287

288288
Today DRA does not return the health of the device back to kubelet. The proposal is to extend the
289-
type `NamedResourcesInstance` (from [pkg/apis/resource/namedresources.go](https://github.com/kubernetes/kubernetes/blob/790dfdbe386e4a115f41d38058c127d2dd0e6f44/pkg/apis/resource/namedresources.go#L29-L37)) to include the Health field the same way it is done in
290-
the Device Plugin as well as a device ID.
289+
type `BasicDevice` (from [staging/src/k8s.io/dynamic-resource-allocation/api/types.go](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/dynamic-resource-allocation/api/types.go#L58)) to include the Health field the same way it is done in the Device Plugin as well as a device ID.
291290

292291
In `1.30` we had a similar `ListAndWatch()` API as in DevicePlugin, from which we could have inferred something very analogous to the above. However, we are removing this in `1.31`, so will need to provide something different.
293292

0 commit comments

Comments
 (0)