-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1055 from NVIDIA/gfd-mount-etc-nvidia-imex
Make the IMEX nodes config file available to GFD
- Loading branch information
Showing
2 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: gpu-feature-discovery-entrypoint | ||
namespace: "FILLED BY THE OPERATOR" | ||
labels: | ||
app: gpu-feature-discovery | ||
data: | ||
entrypoint.sh: |- | ||
#!/bin/bash | ||
until [[ -f /run/nvidia/validations/driver-ready ]] | ||
do | ||
echo "waiting for the driver validations to be ready..." | ||
sleep 5 | ||
done | ||
set -o allexport | ||
cat /run/nvidia/validations/driver-ready | ||
. /run/nvidia/validations/driver-ready | ||
exec gpu-feature-discovery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters