[WIP] Default azure-cni-v1, spot, and custom-vnet e2e templates to Azure Linux 4#6330
[WIP] Default azure-cni-v1, spot, and custom-vnet e2e templates to Azure Linux 4#6330mboersma wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6330 +/- ##
=======================================
Coverage 43.85% 43.85%
=======================================
Files 291 291
Lines 25344 25344
=======================================
Hits 11114 11114
Misses 13457 13457
Partials 773 773 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@mboersma: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This begins making Azure Linux 4 the default operating system for CAPZ e2e tests by flipping the control plane and Linux worker nodes of three CI cluster-template flavors to the
capi-azurelinux-4-gen2community gallery image:prow-azure-cni-v1(REQUIRED)prow-spot(OPTIONAL)prow-custom-vnet(OPTIONAL)Inspired by #6312, but rather than adding a single optional Azure Linux 4 spec, we exercise Azure Linux 4 across multiple existing specs. The AZL4 deltas (compute gallery image, marketplace removal,
ca-certificates/iptables bootstrap, and cloud-provider-azurecaCertDir) are factored into reusable patches undertemplates/test/ci/patches/azl4-*.yaml, modeled on the existing Azure Linux 3 overlay.Scope is intentionally limited to flavors that have no
ci-version/azl3child overlays, so the change is self-contained and low-risk. The basic "Creating a highly available cluster [REQUIRED]" spec and the optional Azure Linux 3 spec are left on their existing images, end-user-facing templates remain Ubuntu-based, and Windows worker nodes are unaffected.Follow-up PRs can extend Azure Linux 4 to the machine-pool, ci-version, and conformance flavors, which require a leaf-overlay approach to avoid disrupting their child templates.
Which issue(s) this PR fixes:
Special notes for your reviewer:
AZL4_VERSIONis set in the e2eBeforeEach(keyed to the Kubernetes version, matching the existingAZL3_VERSIONconvention). These templates depend on thecapi-azurelinux-4-gen2image being published in the community gallery.TODOs:
Release note: