Skip to content

Commit b0e9fd6

Browse files
committed
tests/ai-conformance: add toleration for nvidia.com/gpu taint
1 parent 7566904 commit b0e9fd6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/e2e/scenarios/ai-conformance/run-test.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@ helm upgrade -i nvidia-gpu-operator --wait \
131131
# Uses the driver installed by GPU Operator at /run/nvidia/driver (the default).
132132
echo "Installing NVIDIA DRA Driver..."
133133

134+
cat > values.yaml <<EOF
135+
# The driver daemonset needs a toleration for the nvidia.com/gpu taint
136+
kubeletPlugin:
137+
tolerations:
138+
- key: nvidia.com/gpu
139+
operator: Exists
140+
effect: NoSchedule
141+
EOF
142+
134143
helm upgrade -i nvidia-dra-driver-gpu nvidia/nvidia-dra-driver-gpu \
135144
--version="25.12.0" \
136145
--create-namespace \

0 commit comments

Comments
 (0)