Skip to content
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

Accept kubelet socket from command line #790

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elezar
Copy link
Member

@elezar elezar commented Jun 27, 2024

This also makes it possible to test device plugin logic that does not depend on the kubelet.

@elezar elezar force-pushed the accept-kubelet-socket-from-command-line branch from 464141f to 7e7c85d Compare June 27, 2024 13:29
cmd/nvidia-device-plugin/main.go Outdated Show resolved Hide resolved
cmd/nvidia-device-plugin/main.go Show resolved Hide resolved
internal/plugin/api.go Outdated Show resolved Hide resolved
This change accepts the kubelet socket as a command line argument.
If an empty string is specified, registration with the kubelet is
skipped.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar force-pushed the accept-kubelet-socket-from-command-line branch from 7e7c85d to b2d260f Compare July 9, 2024 11:05
@elezar elezar requested a review from tariq1890 July 9, 2024 11:05
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.

None yet

2 participants