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

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐