Skip to content

NVIDIA GPU Operator: nvidia Runtime Not Re-Added to containerd config.toml Automatically #1651

Description

@tatodorov

We are running NVIDIA Operator version 25.3.1, which deploys NVIDIA Container Toolkit version 1.17.8.
Our Kubernetes cluster is at version 1.32.5, with containerd version 2.0.5.
The host OS is Ubuntu 22.04 with kernel 6.8.0.
The problem, which we observe is that when we reboot a host with GPU or restart containerd on such host, the configuration for the nvidia-container-runtime is removed.
Afterwards, the GPU is not visible to any application scheduled on such node.
The NVIDIA Container Toolkit, which is running in Pod nvidia-container-toolkit-daemonset-, doesn't detect that change.
The only way to make the GPU available to the applications is to delete the nvidia-container-toolkit-daemonset-
Pod.
Afterwards, the NVIDIA Container Toolkit adds the configuration for the nvidia-container-runtime to /etc/containerd/config.toml, and the GPU becomes available to the applications.

I am happy to contribute a fix if the maintainers consider this to be a valid issue.
Please let me know if you would like me to work on a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions