Skip to content

connectedk8s: release v1.11.2 - #10187

Open
Ashlee Nanze (ashnanze) wants to merge 43 commits into
Azure:mainfrom
AzureArcForKubernetes:release-v1.11.2
Open

connectedk8s: release v1.11.2#10187
Ashlee Nanze (ashnanze) wants to merge 43 commits into
Azure:mainfrom
AzureArcForKubernetes:release-v1.11.2

Conversation

@ashnanze

@ashnanze Ashlee Nanze (ashnanze) commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ❌ Action needed

Breaking Changes
❌ 2
❌Azure CLI Extensions Breaking Change Test
❌aimanager
rule cmd_name rule_message suggest_message
1002 - CmdRemove aimanager get-credentials cmd aimanager get-credentials removed please confirm cmd aimanager get-credentials removed
1002 - CmdRemove aimanager namespace get-credentials cmd aimanager namespace get-credentials removed please confirm cmd aimanager namespace get-credentials removed
1012 - SubgroupRemove aimanager namespace modeldeployment sub group aimanager namespace modeldeployment removed please confirm sub group aimanager namespace modeldeployment removed
❌aks-preview
rule cmd_name rule_message suggest_message
1007 - ParaRemove aks machine add cmd aks machine add removed parameter labels please add back parameter labels for cmd aks machine add
1007 - ParaRemove aks machine add cmd aks machine add removed parameter max_pods please add back parameter max_pods for cmd aks machine add
1007 - ParaRemove aks machine add cmd aks machine add removed parameter node_taints please add back parameter node_taints for cmd aks machine add
1010 - ParaPropUpdate aks machine add cmd aks machine add update parameter spot_max_price: updated property default from nan to nan please change property default from nan to nan for parameter spot_max_price of cmd aks machine add
1007 - ParaRemove aks machine update cmd aks machine update removed parameter kubernetes_version please add back parameter kubernetes_version for cmd aks machine update
1002 - CmdRemove aks nodepool get-bootstrap-data cmd aks nodepool get-bootstrap-data removed please confirm cmd aks nodepool get-bootstrap-data removed
1007 - ParaRemove aks update cmd aks update removed parameter enable_hosted_system please add back parameter enable_hosted_system for cmd aks update
1007 - ParaRemove aks update cmd aks update removed parameter node_subnet_id please add back parameter node_subnet_id for cmd aks update
1007 - ParaRemove aks update cmd aks update removed parameter system_node_subnet_id please add back parameter system_node_subnet_id for cmd aks update

Description

Release of the connectedk8s CLI extension, bumping version to 1.11.2.

Changes

  • Fix telemetry Unknown errors: wrap string exceptions, add missing instrumentation, and catch-all decorator for unhandled exceptions.
  • Propagate correlation ID end-to-end for az connectedk8s proxy.
  • [MultiCloudConnector] Allow AgentNotInstalled to Agent conversion in connected clusters.
  • Add debug log for helm binary location.
  • Add diagnosis logic for helm timeouts to improve failure classification.
  • Move kubeadm distribution detection to be evaluated last to prevent incorrect cluster distribution classification.
  • Updated CLIENT_PROXY_VERSION to 1.3.034631.
  • Removed workload identity preview feature flag.
  • Added telemetry for pre-onboarding diagnostic results, including diagnostics execution failures.
  • Add Arc to --proxy-skip-range default values for Azure Arc private-link endpoints.
  • Fix pre-onboarding diagnostic checks incorrectly grading a NotCompleted job as Passed when partial container output is present.
  • Updated clusterdiagnosticchecks image to 1.36.1.

References

  • Release branch: AzureArcForKubernetes/connectedk8s:release-v1.11.2

Bavneet Singh and others added 30 commits September 30, 2025 09:40
* forcedelete

* format

* add code owner

* mypy
…add E2E coverage and improve logging (#20)

* add pester tests for connectedk8s cli extension

* Pass the force delete param to the API call (#4)

* forcedelete

* format

* add code owner

* mypy

* Parameterize for airgapped clouds (#5)

* Add parameterization for the airgapped clouds

* Fix azdev style

* MCR path function

* azdev, ruff, and mypy

---------

Co-authored-by: Matthew McNeal (from Dev Box) <mmcneal@microsoft.com>

* Oras client fix to work with different MCRs (#6)

Co-authored-by: mmcneal <mmcneal@microsoft.com>

* fix CI testcases for nodepool image issues (#8)

* update errors for the config and connectivity issues (#11)

* update errors

* format

* style

* update python version to 3.13 (#12)

* Update cluster diagnostics image to 1.29.3 (#7)

* Update cluster diagnostics helm chart to 1.29.3

* Fix lint issues

---------

Co-authored-by: bgriddaluru <bharath.griddaluru@microsoft.com>

* RBAC deprecation & fix the issue

* typo

* fix comments

* update tests

* add pester tests for connectedk8s cli extension

* Pass the force delete param to the API call (#4)

* forcedelete

* format

* add code owner

* mypy

* fix CI testcases for nodepool image issues (#8)

* update errors for the config and connectivity issues (#11)

* update errors

* format

* style

* update python version to 3.13 (#12)

* rebase

* fix tests

* fix version

* fix mypy, lint

* fix test

* fix test

* fix test

* fix test

* fix test

* rename test

* deprecate flags

* rebase

* rebase

* bump version for release

---------

Co-authored-by: Bavneet Singh <bavneetsingh@microsoft.com>
Co-authored-by: Atchut Kumar Barli <atchut@gmail.com>
Co-authored-by: mcnealm13 <57726243+mcnealm13@users.noreply.github.com>
Co-authored-by: Matthew McNeal (from Dev Box) <mmcneal@microsoft.com>
Co-authored-by: Bavneet Singh <33008256+bavneetsingh16@users.noreply.github.com>
Co-authored-by: bgriddaluru <117554445+bgriddaluru@users.noreply.github.com>
Co-authored-by: bgriddaluru <bharath.griddaluru@microsoft.com>
Co-authored-by: vithumma <vithumma@microsoft.com>
* add agc overrides

* update gns endpoint

* add indentation

* fix linter error

* fix ruff formatting

* move overrides to it's own method

* update method

* update ruff formatting
* add pester tests for connectedk8s cli extension

* Pass the force delete param to the API call (#4)

* forcedelete

* format

* add code owner

* mypy

* Parameterize for airgapped clouds (#5)

* Add parameterization for the airgapped clouds

* Fix azdev style

* MCR path function

* azdev, ruff, and mypy

---------

Co-authored-by: Matthew McNeal (from Dev Box) <mmcneal@microsoft.com>

* Oras client fix to work with different MCRs (#6)

Co-authored-by: mmcneal <mmcneal@microsoft.com>

* fix CI testcases for nodepool image issues (#8)

* update errors for the config and connectivity issues (#11)

* update errors

* format

* style

* update python version to 3.13 (#12)

* Update cluster diagnostics image to 1.29.3 (#7)

* Update cluster diagnostics helm chart to 1.29.3

* Fix lint issues

---------

Co-authored-by: bgriddaluru <bharath.griddaluru@microsoft.com>

* RBAC deprecation & fix the issue

* typo

* fix comments

* update tests

* add pester tests for connectedk8s cli extension

* Pass the force delete param to the API call (#4)

* forcedelete

* format

* add code owner

* mypy

* fix CI testcases for nodepool image issues (#8)

* update errors for the config and connectivity issues (#11)

* update errors

* format

* style

* update python version to 3.13 (#12)

* rebase

* fix tests

* fix version

* fix mypy, lint

* fix test

* fix test

* fix test

* fix test

* fix test

* rename test

* add pester tests for connectedk8s cli extension

* Pass the force delete param to the API call (#4)

* forcedelete

* format

* add code owner

* mypy

* fix CI testcases for nodepool image issues (#8)

* update python version to 3.13 (#12)

* changes to support gateway association/disassociation for api version '2025-08-01-preview' (#17)

* [Azure RBAC] Deprecate 3P mode flags, fix Azure RBAC enablement bug, add E2E coverage and improve logging (#20)

* add pester tests for connectedk8s cli extension

* Pass the force delete param to the API call (#4)

* forcedelete

* format

* add code owner

* mypy

* Parameterize for airgapped clouds (#5)

* Add parameterization for the airgapped clouds

* Fix azdev style

* MCR path function

* azdev, ruff, and mypy

---------

Co-authored-by: Matthew McNeal (from Dev Box) <mmcneal@microsoft.com>

* Oras client fix to work with different MCRs (#6)

Co-authored-by: mmcneal <mmcneal@microsoft.com>

* fix CI testcases for nodepool image issues (#8)

* update errors for the config and connectivity issues (#11)

* update errors

* format

* style

* update python version to 3.13 (#12)

* Update cluster diagnostics image to 1.29.3 (#7)

* Update cluster diagnostics helm chart to 1.29.3

* Fix lint issues

---------

Co-authored-by: bgriddaluru <bharath.griddaluru@microsoft.com>

* RBAC deprecation & fix the issue

* typo

* fix comments

* update tests

* add pester tests for connectedk8s cli extension

* Pass the force delete param to the API call (#4)

* forcedelete

* format

* add code owner

* mypy

* fix CI testcases for nodepool image issues (#8)

* update errors for the config and connectivity issues (#11)

* update errors

* format

* style

* update python version to 3.13 (#12)

* rebase

* fix tests

* fix version

* fix mypy, lint

* fix test

* fix test

* fix test

* fix test

* fix test

* rename test

* deprecate flags

* rebase

* rebase

* bump version for release

---------

Co-authored-by: Bavneet Singh <bavneetsingh@microsoft.com>
Co-authored-by: Atchut Kumar Barli <atchut@gmail.com>
Co-authored-by: mcnealm13 <57726243+mcnealm13@users.noreply.github.com>
Co-authored-by: Matthew McNeal (from Dev Box) <mmcneal@microsoft.com>
Co-authored-by: Bavneet Singh <33008256+bavneetsingh16@users.noreply.github.com>
Co-authored-by: bgriddaluru <117554445+bgriddaluru@users.noreply.github.com>
Co-authored-by: bgriddaluru <bharath.griddaluru@microsoft.com>
Co-authored-by: vithumma <vithumma@microsoft.com>

* remove breaking change announcement for removed flags

---------

Co-authored-by: Bavneet Singh <bavneetsingh@microsoft.com>
Co-authored-by: Atchut Kumar Barli <atchut@gmail.com>
Co-authored-by: mcnealm13 <57726243+mcnealm13@users.noreply.github.com>
Co-authored-by: Matthew McNeal (from Dev Box) <mmcneal@microsoft.com>
Co-authored-by: Bavneet Singh <33008256+bavneetsingh16@users.noreply.github.com>
Co-authored-by: bgriddaluru <117554445+bgriddaluru@users.noreply.github.com>
Co-authored-by: bgriddaluru <bharath.griddaluru@microsoft.com>
Co-authored-by: vithumma <vithumma@microsoft.com>
* adjusting arm64 support

* editing

* adding

* Revert k8s-extension changes from this repo

* changes

* changing order

* fix ruff: ternary for arch, remove unused artifactTag

* fix ruff format

* fix mypy type: ignore comments in _utils.py

* raise CLIInternalError instead of silent fallbacks in _resolve_helm_pull_target

* use requests instead of oras internals for manifest resolution

* add MCR anonymous bearer token auth for manifest resolution

* fix MCR resolution: add Accept header, fetch child manifests for annotations
the tests passed, the typecheck and extension index failures are not relevant to this PR
* switch

* fixswitch

* addhelm4test

* specificexception
* Adding CLI changes for AGC Scenario

* Adding CLI changes for AGC Scenario

* remove special case for base_path, false scenario

* Refactor CLI tool locations

* Address mypy error

* Ruff formatting
…o Agent conversion in connected clusters (#46)

* [az-cli][connectedk8s][MultiCloudConnector] Allow AgentNotInstalled to Agent conversion in connected clusters
* propagate correlation-id to arc proxy

* code clean up

* add version infirmation

* add doc

* nit: fix logger statement

* style check - code cleanup

* remove redundant import

* code clean up.
…nstrumentation, and catch-all decorato (#53)

* adding telemetry updates to update unknown

* Fix telemetry reporting: wrap string exceptions in Exception() and add catch-all decorator

- Replace all exception='string' calls with exception=Exception('string') across
  custom.py, _utils.py, and _precheckutils.py so that ExceptionName in telemetry
  shows 'Exception' instead of 'str'
- Add _telemetry_catch_all decorator to top-level command functions
  (create, delete, update, upgrade) to catch unhandled exceptions, log them
  to telemetry with proper ExceptionName/FaultType, and re-raise as
  CLIInternalError instead of letting them become 'UnknownError'

* Fix mypy and ruff: add type annotations to _telemetry_catch_all decorator and fix import sorting

* Apply ruff format to fix CI format check

* Remove accidentally committed files
* fix(connectedk8s): make azdev style pass with targeted formatting and justified suppressions

* fix(connectedk8s): narrow broad exception suppressions where low risk

* Add rationale comments for style suppressions

* Add rationale comments for exception handling in clientproxy helper

* fix: ruff format clientproxyhelper/_utils.py

* narrow broad-exception-caught to specific types in _precheckutils.py and _utils.py

- _precheckutils.py: narrow 3 of 5 catches (KeyError/AttributeError/TypeError for
  watch loop, ValueError/TypeError for file writes after OSError handler)
- _utils.py: remove module-level pylint disable, narrow 8 catches to specific types
  (ValueError/TypeError for file I/O, ValueError/KeyError for JSON parsing,
  TypeError/AttributeError/RecursionError for dict flattening, KeyError/TypeError
  for dict access), keep inline disable on 6 genuinely polymorphic catches (ARM
  calls, K8s API, retry loops)
- _troubleshootutils.py: keep module-level disable (21 catches, deferred to follow-up)

* fix: resolve all azdev style (pylint) violations to 10.00/10

- W0707 raise-missing-from: add 'from e/ex/exc' to re-raises across custom.py, _utils.py, _precheckutils.py
- C0209 consider-using-f-string: convert .format() calls to f-strings in custom.py, _utils.py, _client_factory.py
- R1714 consider-using-in: merge comparisons in custom.py, _precheckutils.py, _troubleshootutils.py
- C0207 use-maxsplit-arg: add maxsplit=1 in custom.py
- W1514 unspecified-encoding: add encoding='utf-8' to open() calls across all files
- C0206 consider-using-dict-items: use .items() iteration in custom.py
- C0325 superfluous-parens: remove extra parens on raise in custom.py
- E1101 no-member: inline disable for HttpResponseError.response in custom.py
- Module-level pylint disables for: too-many-lines, too-many-positional-arguments, too-many-statements, consider-using-with (cannot refactor without breaking API)
- R0915/R0917 inline disables in _params.py, clientproxyhelper/_utils.py, clientproxyhelper/_proxylogic.py

* fix: resolve flake8 E203/E122/E125/E115 formatting errors

- Fix misplaced encoding='utf-8' argument formatting in multi-line open() calls
- Remove misplaced pylint disable comments inside except block
- Add too-many-lines disable at module level in _utils.py

* style: apply ruff format to pass CI formatting check

* fix: add linter exclusion for require_wait_command_if_no_wait

* fix: use bare raise in ValidationError except block per review

* fix: use bare raise in ArgumentUsageError except block per review
# Conflicts:
#	src/connectedk8s/HISTORY.rst
#	src/connectedk8s/azext_connectedk8s/_constants.py
#	src/connectedk8s/azext_connectedk8s/_utils.py
#	src/connectedk8s/azext_connectedk8s/custom.py
#	src/connectedk8s/azext_connectedk8s/tests/unittests/test_utils_.py
#	src/connectedk8s/setup.py
#	src/documentdb/azext_documentdb/aaz/latest/documentdb/mongocluster/replica/__init__.py
#	src/k8s-extension/azext_k8s_extension/utils.py
Copilot AI lite review requested due to automatic review settings August 6, 2026 17:02
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Connected Kubernetes Auto-Assign Auto assign by bot labels Aug 6, 2026
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: private key
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@azure-client-tools-agent azure-client-tools-agent Bot added the azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent label Aug 6, 2026
@yonzhan

Copy link
Copy Markdown
Collaborator

connectedk8s

@yanzhudd

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@jianyunt

Copy link
Copy Markdown

Julie Zhu (@yanzhudd) Yong Zhang (@yonzhan) , could you please review the changes and let me know if anything else we need to do to get it merged? thanks!

)

azdev cred scan

Co-authored-by: John McCormick <mccormickjo@microsoft.com>
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: credential
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent Connected Kubernetes customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.