← Back to Pull requests

{AKS} `az aks cluster`: Update high log scale cnl logic #9530

Closed
unknown closed this pull request without merging on Feb 09, 2026 03:01 UTC
View on GitHub
unknown unknown commented on Jan 16, 2026 16:53 UTC
Author

This PR automatically enables High Log Scale Mode (HLSM) when Container Network Logs (CNL) is specified in az aks create and az aks update commands.

Changes:

When --enable-container-network-logs is specified, --enable-high-log-scale-mode is automatically set to true
Raises MutuallyExclusiveArgumentError if user explicitly sets --enable-high-log-scale-mode false while enabling CNL
Validates that ACNS and monitoring addon are enabled when using CNL
Updated help text to document the auto-enablement behavior

Testing:

Added 15 unit tests covering CREATE and UPDATE scenarios
Manual testing performed with live Azure clusters

---

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command


az aks cluster create --enable-container-network-logs --enable-acns --enable-addons -a monitoring --enable-high-log-scale-mode
az aks cluster update --enable-container-network-logs --enable-acns --enable-addons -a monitoring --enable-high-log-scale-mode

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)

  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

  • My extension version conforms to the Extension version schema
  • For new extensions:

  • My extension description/summary conforms to the Extension Summary Guidelines.
  • 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.json automatically.
    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.

    Diff: 253 lines (+189 / -64) across 3 files Reviewer: carlotaarvela Review duration: 33728m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 253 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.331
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9530"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.1% (MEDIUM) · Higher = larger blast radius
    39.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.4% · Safe to merge
    15.4%