@@ -200,6 +200,23 @@ spec:
200
200
You may also be able to mutate the incoming Pod, at admission time, to unset
201
201
the `.spec.nodeName` field and to use a node selector instead.
202
202
203
+ # # ResourceClaim Device Status
204
+
205
+ {{< feature-state feature_gate_name="DRAResourceClaimDeviceStatus" >}}
206
+
207
+ The drivers can report driver-specific device status data for each allocated device
208
+ in a resource claim. For example, IPs assigned to a network interface device can be
209
+ reported in the ResourceClaim status.
210
+
211
+ The drivers setting the status, the accuracy of the information depends on the implementation
212
+ of those DRA Drivers. Therefore, the reported status of the device may not always reflect the
213
+ real time changes of the state of the device.
214
+
215
+ When the feature is disabled, that field automatically gets cleared when storing the ResourceClaim.
216
+
217
+ A ResourceClaim device status is supported when it is possible, from a DRA driver, to update an
218
+ existing ResourceClaim where the `status.devices` field is set.
219
+
203
220
# # Enabling dynamic resource allocation
204
221
205
222
Dynamic resource allocation is an *alpha feature* and only enabled when the
@@ -209,6 +226,10 @@ are enabled. For details on that, see the `--feature-gates` and `--runtime-confi
209
226
[kube-apiserver parameters](/docs/reference/command-line-tools-reference/kube-apiserver/).
210
227
kube-scheduler, kube-controller-manager and kubelet also need the feature gate.
211
228
229
+ When a resource driver reports the status of the devices, then the
230
+ ` DRAResourceClaimDeviceStatus` feature gate has to be enabled in addition to
231
+ ` DynamicResourceAllocation` .
232
+
212
233
A quick check whether a Kubernetes cluster supports the feature is to list
213
234
DeviceClass objects with :
214
235
@@ -237,6 +258,13 @@ include it.
237
258
In addition to enabling the feature in the cluster, a resource driver also has to
238
259
be installed. Please refer to the driver's documentation for details.
239
260
261
+ # ## Enabling Device Status
262
+
263
+ [ResourceClaim Device Status](#resourceclaim-device-status) is an *alpha feature*
264
+ and only enabled when the `DRAResourceClaimDeviceStatus`
265
+ [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
266
+ is enabled in the kube-apiserver.
267
+
240
268
# # {{% heading "whatsnext" %}}
241
269
242
270
- For more information on the design, see the
0 commit comments