Skip to content

feat: add SIG config for Ubuntu 24.04 and AzureLinux V3 EdgeZone distros#8853

Open
prakhar1200 wants to merge 5 commits into
mainfrom
prakhardoshi/edgezone-2404-azurelinux3-sig-config
Open

feat: add SIG config for Ubuntu 24.04 and AzureLinux V3 EdgeZone distros#8853
prakhar1200 wants to merge 5 commits into
mainfrom
prakhardoshi/edgezone-2404-azurelinux3-sig-config

Conversation

@prakhar1200

Copy link
Copy Markdown

What this PR does / why we need it:

Registers new EdgeZone distro keys in AgentBaker so they resolve to real SIG images before RP starts returning them, avoiding a provisioning-time image-lookup failure (a release-ordering gap we have hit before, e.g. AzureLinux4).

Adds SIG image-config mappings for:

  • aks-ubuntu-edgezone-containerd-24.04 (AKSUbuntuEdgeZoneContainerd2404)
  • aks-ubuntu-edgezone-containerd-24.04-gen2 (AKSUbuntuEdgeZoneContainerd2404Gen2)
  • aks-azurelinux-v3-edgezone (AKSAzureLinuxV3EdgeZone)
  • aks-azurelinux-v3-edgezone-gen2 (AKSAzureLinuxV3EdgeZoneGen2)

Changes:

  • pkg/agent/datamodel/types.go — new distro constants + added to AKSDistrosAvailableOnVHD.
  • pkg/agent/datamodel/sig_config.go — Ubuntu 24.04 EdgeZone added to SigUbuntuEdgeZoneImageConfig; new SigAzureLinuxEdgeZoneImageConfig map + gallery/RG consts (AKSAzureLinuxEdgeZone / AKS-AzureLinux-EdgeZone); registered the new distros in the containerd/gen2/2404/AzureLinux classification lists.
  • pkg/agent/bakerapi.go — iterate the new AzureLinux EdgeZone map and add it to findSIGImageConfig.
  • pkg/agent/datamodel/sig_config_test.go — assertions for all six EdgeZone entries.

Build + go test ./pkg/agent/datamodel/... pass.

Note

AzureLinux V3 EdgeZone images are assumed to publish to a dedicated gallery AKSAzureLinuxEdgeZone / AKS-AzureLinux-EdgeZone (mirrors the Ubuntu EdgeZone pattern). Please confirm the images actually land there before merge.

Which issue(s) this PR fixes:

Fixes #

Register new EdgeZone distro keys so AgentBaker can resolve them before RP starts returning them: AKSUbuntuEdgeZoneContainerd2404(Gen2) and AKSAzureLinuxV3EdgeZone(Gen2).

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.

Pull request overview

Registers new EdgeZone distro identifiers in AgentBaker and wires them to SIG image configuration so upcoming RP-returned distro keys can be resolved to actual SIG images (avoiding image-lookup failures during provisioning).

Changes:

  • Added new distro constants for Ubuntu 24.04 EdgeZone (gen1/gen2) and AzureLinux V3 EdgeZone (gen1/gen2), and included them in the “available on VHD” list.
  • Extended SIG config mapping to include Ubuntu 24.04 EdgeZone definitions and introduced a dedicated AzureLinux EdgeZone SIG config map (gallery/RG constants + lookup integration).
  • Updated unit tests in sig_config_test.go to assert the new EdgeZone SIG config entries.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
pkg/agent/datamodel/types.go Adds new EdgeZone distro constants and marks them as VHD-available.
pkg/agent/datamodel/sig_config.go Adds EdgeZone SIG config mappings for Ubuntu 24.04 and AzureLinux V3, plus gallery/RG constants and distro classification list updates.
pkg/agent/bakerapi.go Includes AzureLinux EdgeZone SIG configs in GetDistroSigImageConfig and findSIGImageConfig.
pkg/agent/datamodel/sig_config_test.go Adds/updates assertions for the new EdgeZone SIG config entries.

Comment thread pkg/agent/datamodel/types.go
Comment thread pkg/agent/bakerapi.go
…-2404-azurelinux3-sig-config

# Conflicts:
#	pkg/agent/datamodel/sig_config.go
#	pkg/agent/datamodel/types.go
@prakhar1200

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

Copilot AI review requested due to automatic review settings July 8, 2026 00:08

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.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings July 8, 2026 00:41

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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

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.

2 participants