Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ First, create a `kind` cluster to run the demo:

From here we will build the image for the example resource driver:
```console
./demo/clusters/kind/build-dra-driver.sh
./demo/clusters/kind/build-dra-driver-gpu.sh
```

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

### Run the examples by following the steps in the demo script
Expand Down
2 changes: 1 addition & 1 deletion demo/clusters/kind/install-dra-driver-gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ helm upgrade -i --create-namespace --namespace nvidia nvidia-dra-driver-gpu ${PR
${NVIDIA_CTK_PATH:+--set nvidiaCtkPath=${NVIDIA_CTK_PATH}} \
${NVIDIA_DRIVER_ROOT:+--set nvidiaDriverRoot=${NVIDIA_DRIVER_ROOT}} \
${MASK_NVIDIA_DRIVER_PARAMS:+--set maskNvidiaDriverParams=${MASK_NVIDIA_DRIVER_PARAMS}} \
--set resources.gpus.enabled=false \
--set gpuResourcesEnabledOverride=true \
--wait

set +x
Expand Down
2 changes: 2 additions & 0 deletions demo/specs/quickstart/gpu-test2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ kind: Pod
metadata:
namespace: gpu-test2
name: pod
labels:
app: pod
spec:
containers:
- name: ctr0
Expand Down