安装 hd
工具:curl https://gitee.com/linuxsuren/tools/raw/master/install-zh.sh|bash
hd i nvidia-container-toolkit
hd i nvidia-docker2
helm repo add nvidia https://nvidia.github.io/gpu-operator
helm repo update
helm install gpu-operator nvidia/gpu-operator -n gpu-operator-resources --set toolkit.version=1.6.0-centos7
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Pod
metadata:
name: dcgmproftester
spec:
restartPolicy: OnFailure
containers:
- name: dcgmproftester
image: nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda10.2
resources:
limits:
nvidia.com/gpu: 1
EOF
version
GLIBC_2.27' not found`- 部分驱动有问题,可以通过指定驱动版本解决。详情参考这里.