-
Notifications
You must be signed in to change notification settings - Fork 49
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
Allow custom NVIDIA CTK path #72
Conversation
- name: NVIDIA_CTK_PATH | ||
value: "{{ .Values.nvidiaCtkPath }}" |
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.
Does this also require us to set a default in values.yaml
?
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.
Also, is there a reason that this should be set at the root level of the values.yaml
rather than specific to the kubelet plugin (same goes for .Values.nvidiaDriverRoot
for that matter)?
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.
On:
Does this also require us to set a default in
values.yaml
?
Thenvcdi
package will default to/usr/bin/nvidia-ctk
if this is empty, but I would assume that an explicit entry invalues.yaml
would be better.
Also, is there a reason that this should be set at the root level of the
values.yaml
rather than specific to the kubelet plugin (same goes for.Values.nvidiaDriverRoot
for that matter)?
I think this depends on the API that the values file represents. I suppose from my perspective, the current options in the kubeletplugin
section seem related to that pod specifically, whereas the driver root and this path are not specific to the plugin. Yes, they're currently only used there, but if another component is added here that requires these values where would be specify them then?
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.
Does this also require us to set a default in
values.yaml
?
Good point. Fixed.
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.
Also, is there a reason that this should be set at the root level of the
values.yaml
rather than specific to the kubelet plugin (same goes for.Values.nvidiaDriverRoot
for that matter)?
Hmm, I can fix that. Where do they should go, in your opinion?
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.
@empovit I think this is probably more of a question for us internally than a serious issue with the PR.
@klueska do you want to block this PR on defining some other top-level structure to define these kinds of properties (driver
, host
?) or are you ok with leaving this as a top-level value for the time being?
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.
No, I think it's fine. Just an observation (but one that has implications on the user-facing API, so I want us to be conscious of what we are doing).
Signed-off-by: Vitaliy Emporopulo <[email protected]>
On OpenShift, the DTK and driver root paths must be overridden as follows: