[AKS] Add --enable-hosted-system, --system-node-subnet-id and --node-subnet-id to az aks update - #10199
Open
reneeli123 wants to merge 2 commits into
Open
[AKS] Add --enable-hosted-system, --system-node-subnet-id and --node-subnet-id to az aks update#10199reneeli123 wants to merge 2 commits into
--enable-hosted-system, --system-node-subnet-id and --node-subnet-id to az aks update#10199reneeli123 wants to merge 2 commits into
Conversation
|
Hi reneeli123, |
|
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
Julie Zhu (yanzhudd) and
Yong Zhang (yonzhan)
August 11, 2026 04:20
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the aks-preview extension’s az aks update flow to support converting an existing Automatic SKU cluster to use a Managed System Pool (hosted system), optionally alongside BYO VNet subnet configuration.
Changes:
- Adds
--enable-hosted-system,--system-node-subnet-id, and--node-subnet-idtoaz aks update(params, custom entrypoint wiring, and help). - Implements update-time handling for
hosted_system_profileviaupdate_hosted_system_profile, including validation and SKU-specific error messaging. - Adds unit test coverage for hosted-system update behavior and documents the change in
HISTORY.rst.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/aks-preview/HISTORY.rst |
Documents the new az aks update parameters and scenario in the next release entry. |
src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py |
Adds unit tests for hosted-system update behavior (enablement, BYO trio, and validation failures). |
src/aks-preview/azext_aks_preview/managed_cluster_decorator.py |
Adds hosted-system update implementation + refines validation/error messaging for update mode; wires into update flow. |
src/aks-preview/azext_aks_preview/custom.py |
Wires new parameters into the aks_update command signature so they reach the decorator. |
src/aks-preview/azext_aks_preview/_params.py |
Exposes the new CLI arguments (including validators) under aks update. |
src/aks-preview/azext_aks_preview/_help.py |
Adds help text and examples for the new update flags and BYO subnet trio behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…de-subnet-id` for az aks update
reneeli123
force-pushed
the
reneel/support-non-hobo-hobo
branch
from
August 11, 2026 04:27
a7f9157 to
07d1612
Compare
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
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.
🤖 PR Validation —⚠️ Review suggested
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az aks update -n $auto-cluster -g $auto-rg --enable-hosted-system --apiserver-subnet-id(optional for byo) --node-subnet-id(optional for byo) --system-node-subnet-id(optional for byo)General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.