-
Notifications
You must be signed in to change notification settings - Fork 461
Add no-runtime-configure option to the toolkit installer #1521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 20989964385Details
💛 - Coveralls |
86509b4 to
73cbb5e
Compare
ArangoGutierrez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
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 |
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
This change adds an interface (and a basic type) for configuring a target runtime from the nvidia-ctk-installer. Signed-off-by: Evan Lezar <[email protected]>
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 <[email protected]>
73cbb5e to
85dce4a
Compare
This change adds a "none" runtime to the toolkit installer to enable use cases where the NVIDIA Container Toolkit is required without configuring the underlying runtime.
Fixes #1513