Add no-runtime-configure option to the toolkit installer#1521
Add no-runtime-configure option to the toolkit installer#1521elezar merged 4 commits intoNVIDIA:mainfrom
Conversation
Pull Request Test Coverage Report for Build 21140900008Details
💛 - Coveralls |
86509b4 to
73cbb5e
Compare
|
The only comment I had was addressed with a recent commit update. |
|
Note, as currently implemented in the operator, setting cc @tariq1890 |
Thanks for calling this out @cdesiniotis. You're correct then that this is only a piece of the required functionality. @just1not2 it may be good to expand #1513 with additional requirements / details on how you would like the operator to behave and also how you are currently configuring it. Converting this to a draft until we have clarified things. Update: Created NVIDIA/gpu-operator#2041 to add basic support for this to the operator. The thinking is that if a user explicitly sets RUNTIME=none in the toolkit enf, this disables the injection of sockets and config files so that no runtime configuration is performed. |
|
@elezar I lean towards using a flag to trigger a certain behaviour as opposed to relying on a specific value (RUNTIME=none) to trigger said behaviour. Moreover the notion of I don't want to block on this if others are okay with the proposed approach, but my preference right is now if we used a flag like |
I think a dedicated flag makes more sense too. Abusing the |
73cbb5e to
85dce4a
Compare
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change adds an interface (and a basic type) for configuring a target runtime from the nvidia-ctk-installer. Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change adds a --no-runtime-config flag to the nvidia-ctk-installer. When specified, the configuration (and cleanup) of a supported runtime is skipped. This can be used in cases where a user has already configured the runtime for use with the NVIDIA Container Toolkit and no config modifications are required. Signed-off-by: Evan Lezar <elezar@nvidia.com>
85dce4a to
3791812
Compare
|
I have also updated NVIDIA/gpu-operator#2041 for this specific implementation. (It's not strictly needed to function correctly, but does mean that the mounts are cleaner). |
This change adds a
no-runtime-configureoption to the toolkit installer to enable use cases where the NVIDIA Container Toolkit is required without configuring the underlying runtime.Fixes #1513