Skip to content

Commit

Permalink
Merge pull request #998 from elezar/fix-kubelet-socket
Browse files Browse the repository at this point in the history
Fix setting of kubelet socket
  • Loading branch information
elezar authored Oct 18, 2024
2 parents f11cc01 + 80c9e47 commit c78d940
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/nvidia-device-plugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ func main() {
EnvVars: []string{"MOFED_ENABLED"},
},
&cli.StringFlag{
Name: "kubelet-socket",
Value: pluginapi.KubeletSocket,
Usage: "specify the socket for communicating with the kubelet; if this is empty, no connection with the kubelet is attempted",
EnvVars: []string{"KUBELET_SOCKET"},
Name: "kubelet-socket",
Value: pluginapi.KubeletSocket,
Usage: "specify the socket for communicating with the kubelet; if this is empty, no connection with the kubelet is attempted",
Destination: &o.kubeletSocket,
EnvVars: []string{"KUBELET_SOCKET"},
},
&cli.StringFlag{
Name: "config-file",
Expand Down

0 comments on commit c78d940

Please sign in to comment.