美文网首页
k8s gpu 支持

k8s gpu 支持

作者: 立冬1991 | 来源:发表于2019-11-26 11:37 被阅读0次
  • NVIDIA drivers ~= 361.93
  • nvidia-docker version > 2.0 (see how to install and it's prerequisites)
  • docker configured with nvidia as the default runtime.
  • Kubernetes version >= 1.10

/etc/docker/daemon.json:

{
    "default-runtime": "nvidia",
    "runtimes": {
        "nvidia": {
            "path": "/usr/bin/nvidia-container-runtime",
            "runtimeArgs": []
        }
    }
}
$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/1.0.0-beta4/nvidia-device-plugin.yml

相关文章

网友评论

      本文标题:k8s gpu 支持

      本文链接:https://www.haomeiwen.com/subject/llbjwctx.html