Repository navigation
feat(vhdbuilder): add initial node image compatibility feature matrix #10259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
b9dff9a
bae4a65
f3709f0
1ad80dc
9c675e1
61be657
30cbf56
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| # Node image feature compatibility | ||
|
|
||
| These JSON files define the feature-support matrix used to build the **tagging | ||
| goal for official AKS node image releases**: the desired feature compatibility | ||
| tags for images published to the Shared Image Gallery (Azure Compute Gallery). | ||
| Each file describes one feature across the image definitions in scope. | ||
|
|
||
| Compatibility describes what an image can support, not whether a feature is | ||
| enabled by default. Other requirements, such as VM size, Kubernetes version, | ||
| network configuration, or feature registration, still apply. | ||
|
|
||
| ## File format | ||
|
|
||
| Filenames are the lowercase feature names, such as `httpproxy.json`. Each file | ||
| contains: | ||
|
|
||
| - `tagName`: the feature's tag name with its original casing, such as `httpProxy`, | ||
| `localDNS`, or `gpuMIGProfiles`. | ||
| - `isEnum`: `true` when `compatibility` contains per-setting mappings for an | ||
| enum-valued feature; `false` when it directly maps image definitions to booleans. | ||
| - `compatibility`: support by gallery image definition, using the exact, | ||
| case-sensitive definition names rather than Distro names or pipeline job names. | ||
|
|
||
| Boolean features map image definitions directly to boolean values. For example, | ||
| this abbreviated excerpt from `httpproxy.json` shows: | ||
|
|
||
| ```json | ||
| { | ||
| "tagName": "httpProxy", | ||
| "isEnum": false, | ||
| "compatibility": { | ||
| "2204gen2containerd": true, | ||
| "windows-2022-containerd": false | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| Enum features keep a separate mapping for each setting within the same file. | ||
| For example, an abbreviated `gpudevicepluginmode.json`: | ||
|
|
||
| ```json | ||
| { | ||
| "tagName": "gpuDevicePluginMode", | ||
| "isEnum": true, | ||
| "compatibility": { | ||
| "devicePlugin": { | ||
| "2204gen2containerd": true, | ||
| "windows-2022-containerd": false | ||
| }, | ||
| "dra": { | ||
| "2204gen2containerd": true, | ||
| "windows-2022-containerd": false | ||
| } | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| Unlike these excerpts, every actual mapping must include **every image definition | ||
| in scope**, including each setting of an enum feature. Use `false` for unsupported | ||
| combinations; do not omit them or use an implicit default. | ||
|
|
||
| ## Cilium and ACNS Performance | ||
|
|
||
| `ciliumDataplane` and `networkPolicy.cilium` describe basic Cilium compatibility, | ||
| not support for every Cilium feature. Ubuntu 22.04 supports legacy host routing | ||
| but not eBPF host routing, so its Cilium entries remain `true` while | ||
| `networkAccelerationMode.bpfVeth` is `false`. | ||
|
|
||
| `networkAccelerationMode.bpfVeth` separately represents ACNS Performance / eBPF | ||
| host routing; a duplicate `acns-performance-suite` tag is not needed. It requires | ||
| a supported kernel with BPF LSM enabled. Eligible OS families are Ubuntu 24.04, | ||
| Ubuntu 26.04, and Azure Linux 3, excluding CVM, Kata, and OSGuard variants. ACL | ||
| and Windows are also excluded. OSGuard's build explicitly skips BPF-LSM | ||
| enablement because it uses a signed UKI. | ||
|
|
||
| Ubuntu 20.04 entries are `false` in both Cilium mappings rather than advertising | ||
| unconditional compatibility: RP blocks Cilium on Ubuntu 20.04 for Kubernetes | ||
| 1.34 and newer. This does not imply that older Kubernetes/Cilium combinations | ||
| never supported Ubuntu 20.04. | ||
|
|
||
| ## Building the tagging goal | ||
|
|
||
| These files provide the compatibility data for the goal; publishing and applying | ||
| the resulting tags are separate release operations. Changing a matrix does not | ||
| itself retag previously published images or enable a feature on running nodes. | ||
| A missing image entry is an incomplete matrix, not an indication of support or | ||
| lack of support. | ||
|
|
||
| The matrix is an input for tagging new releases, not a declaration that every | ||
| historical version of an image definition has the same capabilities. Historical | ||
| tagging must use evidence for the specific image version, not today's matrix. | ||
| Image-version requirements still apply: current RP ACNS Performance validation | ||
| requires node image version `202508.06.0` or newer in addition to its OS/variant | ||
| checks. A definition-level `true` does not bypass that requirement or other | ||
| Kubernetes/Cilium-version and feature-specific constraints. | ||
|
|
||
| ## Keeping image coverage current | ||
|
|
||
| **Adding images or removing support for older images requires updating all matrix | ||
| files together.** This includes changes to which build jobs are enabled by default | ||
| in either the [Linux VHD release pipeline](../../../.pipelines/.vsts-vhd-builder-release.yaml) | ||
| or the [Windows VHD release pipeline](../../../.pipelines/.vsts-vhd-builder-release-windows.yaml). | ||
| Review the corresponding gallery image definitions whenever these defaults change; | ||
| do not update only the matrix for the feature that motivated the pipeline change. | ||
|
|
||
| - **Add an image:** add its exact gallery definition to every feature mapping and | ||
| every enum-setting mapping, with the corresponding feature support explicitly | ||
| set to `true` or `false`. Do not assume it inherits support from a similar image. | ||
| - **Retire an image from the matrix's scope:** remove its definition from every | ||
| mapping. This differs from removing one feature's support for an image that | ||
| remains in scope: in that case, keep the image and set that feature to `false`. | ||
| - **Add a feature or enum setting:** include the complete current set of image | ||
| definitions, not just the supported ones. | ||
|
|
||
| Keep the image-definition keys in the same sorted order across all mappings. | ||
| Before submitting changes, check that every mapping has the same image-definition | ||
| set and that the support values reflect the applicable implementation constraints. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "tagName": "acceleratedNetworking", | ||
| "isEnum": false, | ||
| "compatibility": { | ||
| "2004fipscontainerd": true, | ||
| "2004gen2CVMcontainerd": true, | ||
| "2004gen2fipscontainerd": true, | ||
| "2204containerd": true, | ||
| "2204fipscontainerd": true, | ||
| "2204gen2TLcontainerd": true, | ||
| "2204gen2arm64containerd": true, | ||
| "2204gen2containerd": true, | ||
| "2204gen2fipsTLcontainerd": true, | ||
| "2204gen2fipscontainerd": true, | ||
| "2404containerd": true, | ||
| "2404gen2CVMcontainerd": true, | ||
| "2404gen2TLcontainerd": true, | ||
| "2404gen2arm64containerd": true, | ||
| "2404gen2arm64gbcontainerd": true, | ||
| "2404gen2containerd": true, | ||
| "2604minimalgen2CVMcontainerd": true, | ||
| "2604minimalgen2arm64containerd": true, | ||
| "2604minimalgen2containerd": true, | ||
| "OSGuardV3gen2fipsTL": true, | ||
| "V3": true, | ||
| "V3fips": true, | ||
| "V3gen2": true, | ||
| "V3gen2CVM": true, | ||
| "V3gen2TL": true, | ||
| "V3gen2arm64": true, | ||
| "V3gen2arm64fips": true, | ||
| "V3gen2fips": true, | ||
| "V3kataccgen2": true, | ||
| "V3katagen2": true, | ||
| "aclgen2CVM": true, | ||
| "aclgen2TL": true, | ||
| "aclgen2arm64TL": true, | ||
| "aclgen2arm64fipsTL": true, | ||
| "aclgen2fipsCVM": true, | ||
| "aclgen2fipsTL": true, | ||
| "windows-2022-containerd": true, | ||
| "windows-2022-containerd-gen2": true, | ||
| "windows-2025": true, | ||
| "windows-2025-gen2": true, | ||
| "windows-2025-gen2-tl": true | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "tagName": "artifactStreaming", | ||
| "isEnum": false, | ||
| "compatibility": { | ||
| "2004fipscontainerd": true, | ||
| "2004gen2CVMcontainerd": true, | ||
| "2004gen2fipscontainerd": true, | ||
| "2204containerd": true, | ||
| "2204fipscontainerd": true, | ||
| "2204gen2TLcontainerd": true, | ||
| "2204gen2arm64containerd": true, | ||
| "2204gen2containerd": true, | ||
| "2204gen2fipsTLcontainerd": true, | ||
| "2204gen2fipscontainerd": true, | ||
| "2404containerd": true, | ||
| "2404gen2CVMcontainerd": true, | ||
| "2404gen2TLcontainerd": true, | ||
| "2404gen2arm64containerd": true, | ||
| "2404gen2arm64gbcontainerd": false, | ||
| "2404gen2containerd": true, | ||
| "2604minimalgen2CVMcontainerd": true, | ||
| "2604minimalgen2arm64containerd": true, | ||
| "2604minimalgen2containerd": true, | ||
| "OSGuardV3gen2fipsTL": false, | ||
| "V3": true, | ||
| "V3fips": true, | ||
| "V3gen2": true, | ||
| "V3gen2CVM": true, | ||
| "V3gen2TL": true, | ||
| "V3gen2arm64": true, | ||
| "V3gen2arm64fips": true, | ||
| "V3gen2fips": true, | ||
| "V3kataccgen2": false, | ||
| "V3katagen2": false, | ||
| "aclgen2CVM": true, | ||
| "aclgen2TL": true, | ||
| "aclgen2arm64TL": true, | ||
| "aclgen2arm64fipsTL": true, | ||
| "aclgen2fipsCVM": true, | ||
| "aclgen2fipsTL": true, | ||
| "windows-2022-containerd": false, | ||
| "windows-2022-containerd-gen2": false, | ||
| "windows-2025": false, | ||
| "windows-2025-gen2": false, | ||
| "windows-2025-gen2-tl": false | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "tagName": "bootstrapArtifactCache", | ||
| "isEnum": false, | ||
| "compatibility": { | ||
| "2004fipscontainerd": true, | ||
| "2004gen2CVMcontainerd": true, | ||
| "2004gen2fipscontainerd": true, | ||
| "2204containerd": true, | ||
| "2204fipscontainerd": true, | ||
| "2204gen2TLcontainerd": true, | ||
| "2204gen2arm64containerd": true, | ||
| "2204gen2containerd": true, | ||
| "2204gen2fipsTLcontainerd": true, | ||
| "2204gen2fipscontainerd": true, | ||
| "2404containerd": true, | ||
| "2404gen2CVMcontainerd": true, | ||
| "2404gen2TLcontainerd": true, | ||
| "2404gen2arm64containerd": true, | ||
| "2404gen2arm64gbcontainerd": true, | ||
| "2404gen2containerd": true, | ||
| "2604minimalgen2CVMcontainerd": true, | ||
| "2604minimalgen2arm64containerd": true, | ||
| "2604minimalgen2containerd": true, | ||
| "OSGuardV3gen2fipsTL": true, | ||
| "V3": true, | ||
| "V3fips": true, | ||
| "V3gen2": true, | ||
| "V3gen2CVM": true, | ||
| "V3gen2TL": true, | ||
| "V3gen2arm64": true, | ||
| "V3gen2arm64fips": true, | ||
| "V3gen2fips": true, | ||
| "V3kataccgen2": true, | ||
| "V3katagen2": true, | ||
| "aclgen2CVM": true, | ||
| "aclgen2TL": true, | ||
| "aclgen2arm64TL": true, | ||
| "aclgen2arm64fipsTL": true, | ||
| "aclgen2fipsCVM": true, | ||
| "aclgen2fipsTL": true, | ||
| "windows-2022-containerd": true, | ||
| "windows-2022-containerd-gen2": true, | ||
| "windows-2025": true, | ||
| "windows-2025-gen2": true, | ||
| "windows-2025-gen2-tl": true | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "tagName": "ciliumDataplane", | ||
| "isEnum": false, | ||
| "compatibility": { | ||
| "2004fipscontainerd": false, | ||
| "2004gen2CVMcontainerd": false, | ||
| "2004gen2fipscontainerd": false, | ||
| "2204containerd": true, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 22.04 is compatible with cilium legacy host routing, but not with eBPF host routing - we block it explicitly in RP.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. More generally, our validation for eBPF host routing in RP checks for -
This precludes ACL entirely and Kata and CVM with other OSes. https://msazure.visualstudio.com/CloudNativeCompute/_git/aks-rp?path=/resourceprovider/server/microsoft.com/containerservice/server/validation/advancednetworkingprofile/advancednetworkingprofile.go&version=GBagentfabric-eno&_a=contents
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might be a good idea to call out acns-performance-suite as a separate tag, to cover eBPF host routing.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so right now I guess cilium support isn't represented in the best way - it's currently split across based on your feedback, would this be a better approach?:
right now I've also corrected the 20.04 cases you pointed out
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I hadn't realized networkaccelerationmode was refering to eBPF host routing. Legacy implies ebpf host routing support for sure. Further, all images that support cilium legacy host routing can also support policy. So, your suggestion would be fine, networkPolicy only needs to look at legacy host routing support. Treating ciliumDataplane as an enum value for networkPlugin is fine, though I don't see a need for it. This file as it is today can capture legacy support, keep networkAccelerationMode as is, and networkPolicy=cilium is basically the same as this file. I'll defer to John Payne (@jpayne3506) on specific kernel requirements for each version of cilium. |
||
| "2204fipscontainerd": true, | ||
| "2204gen2TLcontainerd": true, | ||
| "2204gen2arm64containerd": true, | ||
| "2204gen2containerd": true, | ||
| "2204gen2fipsTLcontainerd": true, | ||
| "2204gen2fipscontainerd": true, | ||
| "2404containerd": true, | ||
| "2404gen2CVMcontainerd": true, | ||
| "2404gen2TLcontainerd": true, | ||
| "2404gen2arm64containerd": true, | ||
| "2404gen2arm64gbcontainerd": true, | ||
| "2404gen2containerd": true, | ||
| "2604minimalgen2CVMcontainerd": true, | ||
| "2604minimalgen2arm64containerd": true, | ||
| "2604minimalgen2containerd": true, | ||
| "OSGuardV3gen2fipsTL": true, | ||
| "V3": true, | ||
| "V3fips": true, | ||
| "V3gen2": true, | ||
| "V3gen2CVM": true, | ||
| "V3gen2TL": true, | ||
| "V3gen2arm64": true, | ||
| "V3gen2arm64fips": true, | ||
| "V3gen2fips": true, | ||
| "V3kataccgen2": true, | ||
| "V3katagen2": true, | ||
| "aclgen2CVM": true, | ||
| "aclgen2TL": true, | ||
| "aclgen2arm64TL": true, | ||
| "aclgen2arm64fipsTL": true, | ||
| "aclgen2fipsCVM": true, | ||
| "aclgen2fipsTL": true, | ||
| "windows-2022-containerd": false, | ||
| "windows-2022-containerd-gen2": false, | ||
| "windows-2025": false, | ||
| "windows-2025-gen2": false, | ||
| "windows-2025-gen2-tl": false | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "tagName": "customCA", | ||
| "isEnum": false, | ||
| "compatibility": { | ||
| "2004fipscontainerd": true, | ||
| "2004gen2CVMcontainerd": true, | ||
| "2004gen2fipscontainerd": true, | ||
| "2204containerd": true, | ||
| "2204fipscontainerd": true, | ||
| "2204gen2TLcontainerd": true, | ||
| "2204gen2arm64containerd": true, | ||
| "2204gen2containerd": true, | ||
| "2204gen2fipsTLcontainerd": true, | ||
| "2204gen2fipscontainerd": true, | ||
| "2404containerd": true, | ||
| "2404gen2CVMcontainerd": true, | ||
| "2404gen2TLcontainerd": true, | ||
| "2404gen2arm64containerd": true, | ||
| "2404gen2arm64gbcontainerd": true, | ||
| "2404gen2containerd": true, | ||
| "2604minimalgen2CVMcontainerd": true, | ||
| "2604minimalgen2arm64containerd": true, | ||
| "2604minimalgen2containerd": true, | ||
| "OSGuardV3gen2fipsTL": true, | ||
| "V3": true, | ||
| "V3fips": true, | ||
| "V3gen2": true, | ||
| "V3gen2CVM": true, | ||
| "V3gen2TL": true, | ||
| "V3gen2arm64": true, | ||
| "V3gen2arm64fips": true, | ||
| "V3gen2fips": true, | ||
| "V3kataccgen2": true, | ||
| "V3katagen2": true, | ||
| "aclgen2CVM": true, | ||
| "aclgen2TL": true, | ||
| "aclgen2arm64TL": true, | ||
| "aclgen2arm64fipsTL": true, | ||
| "aclgen2fipsCVM": true, | ||
| "aclgen2fipsTL": true, | ||
| "windows-2022-containerd": false, | ||
| "windows-2022-containerd-gen2": false, | ||
| "windows-2025": false, | ||
| "windows-2025-gen2": false, | ||
| "windows-2025-gen2-tl": false | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General guidance on what cilium requirements should cross with.
Minimum Kernel Requirement: 5.12
BPF-LSM
No windows support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have deployments that only need 5.7/5.10, but those same clusters can have features enabled that will require 5.12. Current feature ceiling is 5.12.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going off the README, can we create new arrays that contain our image difference in min requirements and potentially save space..? What is the best use case for this?
i.e.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also asked on Santhosh Prabhu (@santhoshmprabhu), but is there a case for representing cilium compatibility without BPF-LSM (which I'm assuming is what's being referred to as legacy host routing)?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cilium legacy host routing is the most common case of cilium deployments. eBPF host routing is opt in, and not planned to be default. It comes with several tradeoffs. BPF LSM is needed only for eBPF host routing support, so we can populate legacy host routing support independent of LSM BPF status.