Repository navigation
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
microsoft-github-policy-service
Bot
requested review from
FumingZhang and
elvazhu521
October 22, 2026 17:33
Contributor
|
Thank you for your contribution sulixu! We will review the pull request and get back to you soon. |
Collaborator
|
AKS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related command
az aks nodepool addaz aks nodepool update(preserve the existing GPU profile only)Description
Move basic Managed GPU enablement from
aks-previewinto the built-in AKS command module.--enable-managed-gputhree-state argument toaz aks nodepool add.gpuProfile.driver=InstallandgpuProfile.nvidia.managementMode=Managed.--enable-managed-gpu true --gpu-driver Nonebefore submitting a node-pool write.Scope and service contract
The existing
azure-mgmt-containerservice==41.8.0dependency and stable2026-08-01API already containGPUProfile.nvidia.managementMode. No SDK version change is needed.This PR does not promote DRA/driver-mode or managed MIG strategy/profile arguments. Those fields are not in this stable API's NVIDIA GPU profile.
This PR also does not expose a new Managed GPU enable/disable argument on
nodepool update. The current published service contract makes GPU management mode immutable. An unrelated update must preserve the existing value, not attempt to convert a pool.References:
Testing Guide
Completed locally against this checkout's CLI/core sources and the exact stable Container Service SDK 41.8.0:
test_managed_gpu: 10 tests passed, with subtests for argument values, driver conflicts, both agent-pool model shapes, and preservation during unrelated updates.test_agentpool_decorator: 201 tests passed.test_custom: 167 tests run; 166 passed and 1 skipped.az aks nodepool add --help: verified that the new argument and example are present without loadingaks-preview.git diff --check: passed.The normal clean development-environment installation was blocked by package download failures. The checks above used an isolated configuration/extension directory, the checked-out source packages, a locally installed 41.8.0 SDK, and the existing CLI installation's remaining dependencies. No system package was changed.
Before marking ready
test_aks_nodepool_add_with_managed_gpuscenario in an approved GPU test subscription. No Azure resources were provisioned during local validation.azdev style acsandazdev linter acsin the normal development/CI environment. Local style-tool downloads were unavailable.aks-previewinstalled; schedule extension deduplication/minimum-core-version changes after the core release.History Notes
[AKS]
az aks nodepool add: Add--enable-managed-gpufor AKS-managed NVIDIA GPU components[AKS]
az aks nodepool add/update: Preserve NVIDIA GPU settings when setting--gpu-driver