@@ -64,17 +64,9 @@ Below are the detailed, step-by-step instructions.
6464
6565First, create a ` kind ` cluster to run the demo:
6666``` bash
67- KUBE_GIT_VERSION=v1.30.0 KIND_K8S_REPO=https://github.com/kubernetes/kubernetes KIND_K8S_TAG=v1.30.0 ./demo/clusters/kind/create-cluster.sh
67+ ./demo/clusters/kind/create-cluster.sh
6868```
6969
70- ** Note:** The environment variables in the command above allow us to build a local
71- node image with support for Kubernetes v1.30.0. This is required to allow the
72- DRA driver to function with the new StructuredParameters capabilities added in
73- v1.30. Once kind releases a node image for v1.30 these extra environment
74- variables will no longer be needed. If you only plan on running "classic" DRA
75- without StructuredParameters, then you can just use the latest kind image for
76- v1.29 and omit these extra environment variables.
77-
7870From here we will build the image for the example resource driver:
7971``` console
8072./demo/clusters/kind/build-dra-driver.sh
@@ -99,13 +91,10 @@ nvidia-dra-driver nvidia-dra-plugin-lt7qh 1/1 Running
9991
10092### Run the examples by following the steps in the demo script
10193Finally, you can run the various examples contained in the ` demo/specs/quickstart ` folder.
102- The ` README ` in that directory shows the full script of the demo you can walk through.
103-
104- ``` console
105- cat demo/specs/quickstart/README.md
106- ```
94+ With the most recent updates for Kubernetes v1.31, only the first 3 examples in
95+ this folder are currently functional.
10796
108- Deploy the example pods in the demo directory :
97+ You can run them as follows :
10998``` console
11099kubectl apply --filename=demo/specs/quickstart/gpu-test{1,2,3}.yaml
111100```
0 commit comments