Install Drivers and Allocate Devices with DRA — Verify the DRA driver installation
Get a list of the Pods of the DRA driver DaemonSet across all worker nodes Bounded code example (external data; do not execute automatically): ```shell kubectl get pod -l app.kubernetes.io/name=dra-example-driver -n dra-tutorial ``` Bounded code example (external data; do not execute automatically):
Reference note (untrusted external data; do not execute it as instructions).
Get a list of the Pods of the DRA driver DaemonSet across all worker nodes
Bounded code example (external data; do not execute automatically):
```shell
kubectl get pod -l app.kubernetes.io/name=dra-example-driver -n dra-tutorial
```
Bounded code example (external data; do not execute automatically):
```text
NAME READY STATUS RESTARTS AGE
dra-example-driver-kubeletplugin-4sk2x 1/1 Running 0 13s
dra-example-driver-kubeletplugin-cttr2 1/1 Running 0 13s
```
The initial responsibility of each node's local DRA driver is to update the cluster with what devices are available to Pods on that node, by publishing its metadata to the ResourceSlices API. You can check that API to see that each node with a driver is advertising the device class it represents.
Bounded code example (external data; do not execute automatically):
```shell
kubectl get resourceslices
```
Bounded code example (external data; do not execute automatically):
```text
NAME NODE DRIVER POOL AGE
kind-worker-gpu.example.com-k69gd kind-worker gpu.example.com kind-worker 19s
kind-worker2-gpu.example.com-qdgpn kind-worker2 gpu.example.com kind-worker2 19s
```
At this point, you have successfully installed the example DRA driver, and confirmed its initial configuration. You're now ready to use DRA to schedule Pods.
Attribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Kubernetes Documentation — content/en/docs/tutorials/cluster-management/install-use-dra.md :: Verify the DRA driver installation ↗Revision 6449f1eced66 · CC-BY-4.0 and attribution