k8s使用Volcano调度gpu
安装nvidia-container-runtime。安装k8s-device-plugin。安装nvidia-docker2。cri-dockerd安装。安装volcano1.8。
·
k8s部署
https://www.yangxingzhen.com/9817.html
cri-dockerd安装
https://zhuanlan.zhihu.com/p/632861515
安装nvidia-container-runtime
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
安装k8s-device-plugin
https://github.com/volcano-sh/devices
yum install -y nvidia-docker2
systemctl restart docker
cat /etc/docker/daemon.json
{
"exec-opts": [
"native.cgroupdriver=systemd"
],
"registry-mirrors": [
"https://i6straf8.mirror.aliyuncs.com",
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn"
],
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
}
安装volcano1.8(可选?)
https://github.com/volcano-sh/volcano/tree/v1.8.2
gpu共享使用
https://cloud.tencent.com/developer/article/1821167
更多推荐
已为社区贡献2条内容
所有评论(0)