Skip to content

test: cover placement-scope behavior in non-zonal regions#1683

Open
tallaxes wants to merge 3 commits into
mainfrom
tallaxes/placement-scope-nonzonal
Open

test: cover placement-scope behavior in non-zonal regions#1683
tallaxes wants to merge 3 commits into
mainfrom
tallaxes/placement-scope-nonzonal

Conversation

@tallaxes

@tallaxes tallaxes commented May 12, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds test coverage for karpenter.azure.com/placement-scope behavior in non-zonal regions using the existing westcentralus fake environment. Follow-up to #1659.

This covers:

  • Unconstrained non-zonal provisioning labels nodes with:
    • topology.kubernetes.io/zone=0
    • karpenter.azure.com/placement-scope=regional
  • Explicit placement-scope=regional provisions successfully in non-zonal regions.
  • Explicit placement-scope=zonal does not provision in non-zonal regions and does not attempt VM or AKS Machine creation.
  • Allocation filtering rejects purely regional offerings when requirements specify placement-scope=zonal.

How was this change tested?

  • make presubmit

Does this change impact docs?

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

Release Note

@tallaxes tallaxes self-assigned this May 12, 2026
@tallaxes tallaxes marked this pull request as ready for review May 12, 2026 22:36
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.

1 participant