Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Feb 28, 2025

This allows the NVIDIA Container Toolkit to ignore IMEX channel requests through the NVIDIA_IMEX_CHANNELS envvar or volume mounts and ensures that the NVIDIA Container Toolkit cannot be used to provide out-of-band access to an IMEX channel by simply specifying an environment variable, possibly bypassing other checks by an orchestration system such as kubernetes.

To enable this feature add the following to the config.toml:

[features]
ignore-imex-channel-requests = true

This can also be done by running:

sudo nvidia-ctk config --set features.ignore-imex-channel-requests

In the case of the toolkit container ensure that the NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES includes ignore-imex-channel-requests.

Backport of #943

This allows the NVIDIA Container Toolkit to ignore IMEX channel requests
through the NVIDIA_IMEX_CHANNELS envvar or volume mounts and ensures that
the NVIDIA Container Toolkit cannot be used to provide out-of-band access
to an IMEX channel by simply specifying an environment variable, possibly
bypassing other checks by an orchestration system such as kubernetes.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar self-assigned this Feb 28, 2025
@elezar elezar added this to the v1.17.5 milestone Feb 28, 2025
@elezar elezar merged commit e4f8406 into NVIDIA:release-1.17 Mar 6, 2025
10 checks passed
@elezar elezar deleted the add-disable-imex-channels-feature branch March 6, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants