Skip to content

Commit c27ec26

Browse files
committed
kOps: Use AL2023 for pull-kops-e2e-cni-amazonvpc
1 parent af5ea74 commit c27ec26

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

config/jobs/kubernetes/kops/build_jobs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,6 +1877,7 @@ def generate_presubmits_network_plugins():
18771877
k8s_version = 'ci'
18781878
optional = True
18791879
if plugin == 'amazonvpc':
1880+
distro = 'al2023arm64'
18801881
master_size = "r6g.xlarge"
18811882
node_size = "r6g.xlarge"
18821883
if plugin in ['cilium-eni']:

config/jobs/kubernetes/kops/helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def latest_gce_image(project, family, arch="X86_64"):
229229

230230
distro_images = {
231231
'al2023': latest_aws_image('137112412989', 'al2023-ami-2*-kernel-6.1-x86_64'),
232+
'al2023arm64': latest_aws_image('137112412989', 'al2023-ami-2*-kernel-6.1-arm64', 'arm64'),
232233
'amzn2': latest_aws_image('137112412989', 'amzn2-ami-kernel-5.10-hvm-*-x86_64-gp2'),
233234
'deb11': latest_aws_image('136693071363', 'debian-11-amd64-*'),
234235
'deb12': latest_aws_image('136693071363', 'debian-12-amd64-*'),
@@ -247,6 +248,7 @@ def latest_gce_image(project, family, arch="X86_64"):
247248

248249
distros_ssh_user = {
249250
'al2023': 'ec2-user',
251+
'al2023arm64': 'ec2-user',
250252
'amzn2': 'ec2-user',
251253
'deb10': 'admin',
252254
'deb11': 'admin',

config/jobs/kubernetes/kops/kops-presubmits-network-plugins.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
presubmits:
44
kubernetes/kops:
55

6-
# {"cloud": "aws", "distro": "u2404arm64", "extra_flags": "--master-size=r6g.xlarge --node-size=r6g.xlarge --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "networking": "amazonvpc"}
6+
# {"cloud": "aws", "distro": "al2023arm64", "extra_flags": "--master-size=r6g.xlarge --node-size=r6g.xlarge --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "networking": "amazonvpc"}
77
- name: pull-kops-e2e-cni-amazonvpc
88
cluster: k8s-infra-kops-prow-build
99
branches:
@@ -36,7 +36,7 @@ presubmits:
3636
-v 2 \
3737
--up --build --down \
3838
--cloud-provider=aws \
39-
--create-args="--image='099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-arm64-server-20250920' --channel=alpha --networking=amazonvpc --master-size=r6g.xlarge --node-size=r6g.xlarge --discovery-store=s3://k8s-kops-prow/discovery" \
39+
--create-args="--image='137112412989/al2023-ami-2023.8.20250915.0-kernel-6.1-arm64' --channel=alpha --networking=amazonvpc --master-size=r6g.xlarge --node-size=r6g.xlarge --discovery-store=s3://k8s-kops-prow/discovery" \
4040
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
4141
--kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
4242
--test=kops \
@@ -50,7 +50,7 @@ presubmits:
5050
- name: KUBE_SSH_KEY_PATH
5151
value: /etc/aws-ssh/aws-ssh-private
5252
- name: KUBE_SSH_USER
53-
value: ubuntu
53+
value: ec2-user
5454
- name: GOPATH
5555
value: /home/prow/go
5656
resources:
@@ -62,7 +62,7 @@ presubmits:
6262
memory: 6Gi
6363
annotations:
6464
test.kops.k8s.io/cloud: aws
65-
test.kops.k8s.io/distro: u2404arm64
65+
test.kops.k8s.io/distro: al2023arm64
6666
test.kops.k8s.io/extra_flags: --master-size=r6g.xlarge --node-size=r6g.xlarge --discovery-store=s3://k8s-kops-prow/discovery
6767
test.kops.k8s.io/k8s_version: stable
6868
test.kops.k8s.io/kops_channel: alpha

config/jobs/kubernetes/kops/pinned.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ gce://images/ubuntu-os-cloud/ubuntu-2404-lts-arm64:ARM64=ubuntu-2404-noble-arm64
88
gce://images/ubuntu-os-cloud/ubuntu-minimal-2404-lts-amd64:X86_64=ubuntu-minimal-2404-noble-amd64-v20250918
99
gce://images/ubuntu-os-cloud/ubuntu-minimal-2404-lts-arm64:ARM64=ubuntu-minimal-2404-noble-arm64-v20250918
1010
aws://images/137112412989/al2023-ami-2*-kernel-6.1-x86_64:x86_64=137112412989/al2023-ami-2023.8.20250915.0-kernel-6.1-x86_64
11+
aws://images/137112412989/al2023-ami-2*-kernel-6.1-arm64:arm64=137112412989/al2023-ami-2023.8.20250915.0-kernel-6.1-arm64
1112
aws://images/137112412989/amzn2-ami-kernel-5.10-hvm-*-x86_64-gp2:x86_64=137112412989/amzn2-ami-kernel-5.10-hvm-2.0.20250915.0-x86_64-gp2
1213
aws://images/136693071363/debian-11-amd64-*:x86_64=136693071363/debian-11-amd64-20250801-2191
1314
aws://images/136693071363/debian-12-amd64-*:x86_64=136693071363/debian-12-amd64-20250909-2230

0 commit comments

Comments
 (0)