Skip to content

nvidia k8s device plugin | ⚡️ Rickylss Blog ⚡️ #55

@Rickylss

Description

@Rickylss

https://www.rickylss.site/container/2022/08/21/nvidia-device-pluign/#

nvidia-container-runtime 想要使用带 GPU 的 container 需要先替换 Nvidia 定制的 runtime。 Since Kubernetes does not support the --gpus option with Docker yet, the nvidia runtime should be setup as the default container runtime for Docker on the GPU node. This can be done by adding the default-runtime line into the Docker daemon config file, which is usually located on the system at /etc/docker/daemon.json: { "default-runtime": "nvidia", "runtimes": { "nvidia": { "path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": [] } } }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions