Skip to content

Commit e2145b4

Browse files
committed
kOps: Use Ubuntu 24.04 for pull-kops-e2e-cni-amazonvpc
1 parent 850dbe6 commit e2145b4

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

config/jobs/kubernetes/kops/build_jobs.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,8 +1866,6 @@ def generate_presubmits_network_plugins():
18661866
for plugin, run_if_changed in plugins.items():
18671867
k8s_version = 'stable'
18681868
networking_arg = plugin
1869-
master_size = "c6g.large"
1870-
node_size = "t4g.large"
18711869
optional = False
18721870
distro = 'u2404arm64'
18731871
if plugin == 'flannel':
@@ -1876,10 +1874,16 @@ def generate_presubmits_network_plugins():
18761874
networking_arg = 'kube-router'
18771875
k8s_version = 'ci'
18781876
optional = True
1877+
aws_extra_flags = [
1878+
"--master-size=c6g.large",
1879+
"--node-size=t4g.large"
1880+
]
18791881
if plugin == 'amazonvpc':
1880-
distro = 'al2023arm64'
1881-
master_size = "r6g.xlarge"
1882-
node_size = "r6g.xlarge"
1882+
aws_extra_flags.extend([
1883+
"--set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true",
1884+
"--set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80",
1885+
"--set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10",
1886+
])
18831887
if plugin in ['cilium-eni']:
18841888
distro = 'u2204arm64' # pinned to 22.04 because of network issues with 24.04 and these CNIs
18851889
results.append(
@@ -1890,10 +1894,7 @@ def generate_presubmits_network_plugins():
18901894
name=f"pull-kops-e2e-cni-{plugin}",
18911895
tab_name=f"e2e-{plugin}",
18921896
networking=networking_arg,
1893-
extra_flags=[
1894-
f"--master-size={master_size}",
1895-
f"--node-size={node_size}"
1896-
],
1897+
extra_flags=aws_extra_flags,
18971898
run_if_changed=run_if_changed,
18981899
optional=optional,
18991900
)

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

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

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"}
6+
# {"cloud": "aws", "distro": "u2404arm64", "extra_flags": "--master-size=c6g.large --node-size=t4g.large --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --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='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" \
39+
--create-args="--image='099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-arm64-server-20250920' --channel=alpha --networking=amazonvpc --master-size=c6g.large --node-size=t4g.large --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --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: ec2-user
53+
value: ubuntu
5454
- name: GOPATH
5555
value: /home/prow/go
5656
resources:
@@ -62,8 +62,8 @@ presubmits:
6262
memory: 6Gi
6363
annotations:
6464
test.kops.k8s.io/cloud: aws
65-
test.kops.k8s.io/distro: al2023arm64
66-
test.kops.k8s.io/extra_flags: --master-size=r6g.xlarge --node-size=r6g.xlarge --discovery-store=s3://k8s-kops-prow/discovery
65+
test.kops.k8s.io/distro: u2404arm64
66+
test.kops.k8s.io/extra_flags: --master-size=c6g.large --node-size=t4g.large --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --discovery-store=s3://k8s-kops-prow/discovery
6767
test.kops.k8s.io/k8s_version: stable
6868
test.kops.k8s.io/kops_channel: alpha
6969
test.kops.k8s.io/networking: amazonvpc

0 commit comments

Comments
 (0)