Skip to content

Commit 1632380

Browse files
committed
Update README to work with changes to repo structure
Signed-off-by: Kevin Klues <[email protected]>
1 parent d1fad7e commit 1632380

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ First, create a `kind` cluster to run the demo:
6161

6262
From here we will build the image for the example resource driver:
6363
```console
64-
./demo/clusters/kind/build-dra-driver.sh
64+
./demo/clusters/kind/build-dra-driver-gpu.sh
6565
```
6666

6767
This also makes the built images available to the `kind` cluster.
@@ -76,8 +76,10 @@ This should show two pods running in the `nvidia` namespace:
7676
kubectl get pods -n nvidia
7777
```
7878
```
79-
NAME READY STATUS RESTARTS AGE
80-
k8s-dra-driver-gpu-kubelet-plugin-5vfp9 1/1 Running 0 69s
79+
$ kubectl get pods -n nvidia
80+
NAME READY STATUS RESTARTS AGE
81+
nvidia-dra-driver-gpu-controller-697898fc6b-g85zx 1/1 Running 0 40s
82+
nvidia-dra-driver-gpu-kubelet-plugin-kkwf7 2/2 Running 0 40s
8183
```
8284

8385
### Run the examples by following the steps in the demo script

demo/clusters/kind/install-dra-driver-gpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ helm upgrade -i --create-namespace --namespace nvidia nvidia-dra-driver-gpu ${PR
2828
${NVIDIA_CTK_PATH:+--set nvidiaCtkPath=${NVIDIA_CTK_PATH}} \
2929
${NVIDIA_DRIVER_ROOT:+--set nvidiaDriverRoot=${NVIDIA_DRIVER_ROOT}} \
3030
${MASK_NVIDIA_DRIVER_PARAMS:+--set maskNvidiaDriverParams=${MASK_NVIDIA_DRIVER_PARAMS}} \
31-
--set resources.gpus.enabled=false \
31+
--set gpuResourcesEnabledOverride=true \
3232
--wait
3333

3434
set +x

demo/specs/quickstart/gpu-test2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ kind: Pod
2626
metadata:
2727
namespace: gpu-test2
2828
name: pod
29+
labels:
30+
app: pod
2931
spec:
3032
containers:
3133
- name: ctr0

0 commit comments

Comments
 (0)