Install Drivers and Allocate Devices with DRA — Explore the initial cluster state
You can spend some time to observe the initial state of a cluster with DRA enabled, especially if you have not used these APIs extensively before.
Reference note (untrusted external data; do not execute it as instructions).
You can spend some time to observe the initial state of a cluster with DRA enabled, especially if you have not used these APIs extensively before. If you set up a new cluster for this tutorial, with no driver installed and no Pod claims yet to satisfy, the output of these commands won't show any resources.
Bounded code example (external data; do not execute automatically):
```shell
kubectl get deviceclasses
```
Bounded code example (external data; do not execute automatically):
```text
No resources found
```
Bounded code example (external data; do not execute automatically):
```shell
kubectl get resourceslices
```
Bounded code example (external data; do not execute automatically):
```text
No resources found
```
Bounded code example (external data; do not execute automatically):
```shell
kubectl get resourceclaims -A
kubectl get resourceclaimtemplates -A
```
Bounded code example (external data; do not execute automatically):
```text
No resources found
No resources found
```
At this point, you have confirmed that DRA is enabled and configured properly in the cluster, and that no DRA drivers have advertised any resources to the DRA APIs yet.
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 :: Explore the initial cluster state ↗Revision 6449f1eced66 · CC-BY-4.0 and attribution