Skip to content

Commit a105ddf

Browse files
committed
Default to windows-2025 community gallery images
1 parent 33eeeee commit a105ddf

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

azure/defaults.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const (
5252
// DefaultLinuxGalleryImageName is the default Linux community gallery image definition.
5353
DefaultLinuxGalleryImageName = "capi-ubun2-2404"
5454
// DefaultWindowsGalleryImageName is the default Windows community gallery image definition.
55-
DefaultWindowsGalleryImageName = "capi-win-2019-containerd"
55+
DefaultWindowsGalleryImageName = "capi-win-2025-containerd"
5656
)
5757

5858
const (
@@ -72,7 +72,7 @@ const (
7272
const (
7373
// DefaultWindowsOsAndVersion is the default Windows Server version to use when
7474
// generating default images for Windows nodes.
75-
DefaultWindowsOsAndVersion = "windows-2019"
75+
DefaultWindowsOsAndVersion = "windows-2025"
7676
)
7777

7878
const (

azure/services/virtualmachineimages/images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (s *Service) GetDefaultWindowsImage(ctx context.Context, _, k8sVersion, run
106106
if len(match) != 2 {
107107
return nil, errors.Errorf("unsupported osAndVersion %s", osAndVersion)
108108
}
109-
imageName = strings.Replace(imageName, "2019", match[1], 1)
109+
imageName = strings.Replace(imageName, "2025", match[1], 1)
110110
}
111111

112112
// Use the Azure Marketplace for specific older versions, to keep "clusterctl upgrade" from rolling new machines.

docs/book/src/developers/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ With the following environment variables defined, you can build a CAPZ cluster f
553553
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
554554
| `E2E_ARGS` | `-kubetest.use-ci-artifacts` |
555555
| `KUBERNETES_VERSION` | `latest` - extract Kubernetes version from https://dl.k8s.io/ci/latest.txt (main's HEAD)<br>`latest-1.<MINOR>` - extract Kubernetes version from dl.k8s.io/ci/latest-1.<MINOR>.txt (release branch's HEAD) |
556-
| `WINDOWS_SERVER_VERSION` | Optional, can be `windows-2019` (default) or `windows-2022` |
556+
| `WINDOWS_SERVER_VERSION` | Optional, can be `windows-2025` (default) or `windows-2022` |
557557
| `KUBETEST_WINDOWS_CONFIG` | Default is `upstream-windows.yaml`. CAPZ contains various other configuration recipes in the `test/e2e/data/` directory; you may use any of those by referencing their file names as the value of `KUBETEST_WINDOWS_CONFIG` (e.g., `conformance-fast.yaml`), or you may drop in your own config files into `test/e2e/data/` and reference those. |
558558
| `WINDOWS_CONTAINERD_URL` | Optional, can be any url to a `tar.gz` file containing binaries for containerd in the same format as upstream package |
559559

templates/test/ci/cluster-template-prow-ci-version.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-machine-pool-ci-version.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/prow-ci-version/patches/machine-deployment-ci-version-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
marketplace:
1212
publisher: cncf-upstream
1313
offer: capi-windows
14-
sku: ${WINDOWS_SERVER_VERSION:=windows-2019}-containerd-gen1
14+
sku: ${WINDOWS_SERVER_VERSION:=windows-2025}-containerd-gen1
1515
version: "latest"
1616
identity: UserAssigned
1717
userAssignedIdentities:

templates/test/ci/prow-machine-pool-ci-version/patches/machine-pool-ci-version-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
marketplace:
1212
publisher: cncf-upstream
1313
offer: capi-windows
14-
sku: ${WINDOWS_SERVER_VERSION:=windows-2019}-containerd-gen1
14+
sku: ${WINDOWS_SERVER_VERSION:=windows-2025}-containerd-gen1
1515
version: latest
1616
identity: UserAssigned
1717
userAssignedIdentities:

templates/test/dev/cluster-template-custom-builds-load.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/dev/cluster-template-custom-builds-machine-pool.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/dev/cluster-template-custom-builds.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/dev/custom-builds-machine-pool/patches/machine-pool-deployment-pr-version-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ spec:
1010
marketplace:
1111
publisher: cncf-upstream
1212
offer: capi-windows
13-
sku: ${WINDOWS_SERVER_VERSION:=windows-2019}-containerd-gen1
13+
sku: ${WINDOWS_SERVER_VERSION:=windows-2025}-containerd-gen1
1414
version: latest

templates/test/dev/custom-builds/patches/machine-deployment-pr-version-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ spec:
1515
marketplace:
1616
publisher: cncf-upstream
1717
offer: capi-windows
18-
sku: ${WINDOWS_SERVER_VERSION:=windows-2019}-containerd-gen1
18+
sku: ${WINDOWS_SERVER_VERSION:=windows-2025}-containerd-gen1
1919
version: latest

0 commit comments

Comments
 (0)