cat <<EOF | sudo tee cuda-samples.yaml
apiVersion: v1
kind: Pod
metadata:
name: nvidia-l4t-base
spec:
restartPolicy: OnFailure
containers:
- name: nvidia-l4t-base
image: “nvcr.io/nvidia/l4t-base:r32.6.1”
args:- /usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery
EOF
- /usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery
cd /usr/local/cuda/samples/1_Utilities/deviceQuery
sudo make
cd ~
sudo kubectl apply -f cuda-samples.yaml
but not running
the error is :
Warning Failed 3s (x5 over 94s) kubelet Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: “/usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery”: stat /usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery: no such file or directory: unknown
the file is exit,please tell me why?