Skip to content

fix: require Machine API for Windows NodeClasses - #1927

Merged
Robin D. (comtalyst) merged 1 commit into
robin/task10203-block-windows-cilium-20260919from
robin/task10204-require-machine-api-windows-20260919
Oct 8, 2026
Merged

Robin D. (comtalyst) merged 1 commit into
robin/task10203-block-windows-cilium-20260919from
robin/task10204-require-machine-api-windows-20260919

Conversation

@comtalyst

@comtalyst Robin D. (comtalyst) commented Sep 19, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Require AKS Machine API provisioning for Windows AKSNodeClasses. Both aksmachineapi and aksmachineapiheaderbatch are accepted; VM-based provisioning modes fail validation. Linux behavior is unchanged.

Stacked on #1926.

How was this change tested?

  • Unit tests added
  • (Mostly for sanity) NAP E2Es, along with other relevant changes

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened
  • No

Release Note

@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 0792fac to ecde242 Compare September 19, 2026 09:58
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from ecde242 to 306e8c6 Compare September 19, 2026 14:50
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 306e8c6 to 867a1f1 Compare September 19, 2026 18:32
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 867a1f1 to 55fd0e6 Compare September 19, 2026 19:45
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 55fd0e6 to 4506738 Compare October 6, 2026 07:04
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 4506738 to 5f04de2 Compare October 6, 2026 07:41
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 5f04de2 to 6f3533e Compare October 7, 2026 21:21
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 6f3533e to 5517ad1 Compare October 7, 2026 22:24
@comtalyst
Robin D. (comtalyst) marked this pull request as ready for review October 7, 2026 22:45
Copilot AI balanced review requested due to automatic review settings October 7, 2026 22:45

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.

ðŸŸĒ Approval recommended

The validation correctly recognizes both Machine API modes and includes comprehensive regression coverage.

0 open findings

What changed in this PR

Requires Windows AKSNodeClasses to use an AKS Machine API provisioning mode while preserving Linux behavior.

Changes:

  • Rejects Windows NodeClasses in VM-based modes.
  • Accepts both AKS Machine API modes.
  • Adds coverage for Windows and Linux mode compatibility.
File Description
pkg/​controllers/​nodeclass/​status/​validation.go Adds Windows provisioning-mode validation.
pkg/​controllers/​nodeclass/​status/​validation_test.go Tests supported and unsupported mode combinations.

🧠 Review effort: Balanced


ðŸ’Ą Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 5517ad1 to db9281e Compare October 7, 2026 23:39
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch 2 times, most recently from 23c1833 to 1f365f9 Compare October 8, 2026 00:16
Co-Authored-By: Claude <noreply@anthropic.com>
@comtalyst
Robin D. (comtalyst) force-pushed the robin/task10204-require-machine-api-windows-20260919 branch from 1f365f9 to 7405aaf Compare October 8, 2026 18:36
@comtalyst
Robin D. (comtalyst) merged commit d589608 into main Oct 8, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants