Skip to content

Conversation

@tariq1890
Copy link
Contributor

@tariq1890 tariq1890 commented Oct 1, 2024

Summary of changes made in this PR:

In CRI-O and Containerd config engines, retrieve the container runtime config commands via the following commands:
i. crio status config
ii. containerd config dump

When configuring CRI-O runtime, we prioritise the runtime designated as the default_runtime in the config when setting up the nvidia runtime handler as opposed to favouring the runc runtime handler at all times. This is needed as vanilla cri-o packages have crun as the default low-level-runtime. Live-swapping the low-level runtime causes the running containers in a cluster to break

Add the full path of the low-level runtime to the nvidia-container-runtime.runtimes config value, so that nvidia-container-runtime binds to a low-level runtime binary that cannot be resolved in the PATH.

This is the latest iteration of the #686 PR that is most up-to-date and will supersede the same

@elezar
Copy link
Member

elezar commented Oct 1, 2024

Please close this PR and continue working on #686

@tariq1890 tariq1890 closed this Oct 1, 2024
@tariq1890 tariq1890 deleted the get-cfg-cmdline-2 branch October 18, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants