当前位置:   article > 正文

k8s使用Volcano调度gpu_volcano gpu

volcano gpu

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
  • 1
  • 2
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": []
        }
    }
}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19

安装volcano1.8(可选?)
https://github.com/volcano-sh/volcano/tree/v1.8.2

gpu共享使用
https://cloud.tencent.com/developer/article/1821167

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/975569
推荐阅读
相关标签
  

闽ICP备14008679号