-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[AKS] az aks nodepool update: Add GPU driver install options install and none for --gpu-driver parameter
#9472
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -2129,6 +2129,10 @@ def load_arguments(self, _): | |||||||
| options_list=["--node-vm-size", "-s"], | ||||||||
| completer=get_vm_size_completion_list, | ||||||||
| ) | ||||||||
| c.argument( | ||||||||
| "gpu_driver", | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe you also need to declare this parameter in the entry function corresponding to the command, which is |
||||||||
| arg_type=get_enum_type(gpu_driver_install_modes) | ||||||||
|
||||||||
| arg_type=get_enum_type(gpu_driver_install_modes) | |
| arg_type=get_enum_type(gpu_driver_install_modes), | |
| help="Whether to install driver for GPU node pool. Possible values are 'Install' or 'None'. Default is 'Install'." |
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.
The description should more accurately reflect the functionality being added. Consider revising to: "Add option
--gpu-drivertoaz aks nodepool updateto control GPU driver installation with values 'Install' or 'None'." This is clearer than "to select skipping GPU driver installation" because the parameter supports both installing and skipping, not just skipping.