Skip to content

Commit 4bcf60b

Browse files
authored
Merge pull request #34616 from dims/use-standard-settings-for-aws-vpc-cni-for-e2e-kops-aws-cni-amazon-vpc-ci-job
Use standard settings for aws-vpc-cni for e2e-kops-aws-cni-amazon-vpc CI job
2 parents 81fb77d + 10e2366 commit 4bcf60b

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

config/jobs/kubernetes/kops/build_jobs.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,18 +1492,25 @@ def generate_network_plugins():
14921492
networking_arg = plugin.replace('amazon-vpc', 'amazonvpc').replace('kuberouter', 'kube-router')
14931493
k8s_version = 'stable'
14941494
distro = 'u2404'
1495+
extra_flags = ['--node-size=t3.large']
14951496
if plugin in ['kuberouter']:
14961497
k8s_version = 'ci'
14971498
if plugin in ['cilium-eni', 'amazon-vpc']:
14981499
distro = 'u2204' # pinned to 22.04 because of network issues with 24.04 and these CNIs
1500+
if plugin in ['amazon-vpc']:
1501+
extra_flags += [
1502+
"--set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true",
1503+
"--set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80",
1504+
"--set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10",
1505+
]
14991506
results.append(
15001507
build_test(
15011508
distro=distro,
15021509
k8s_version=k8s_version,
15031510
kops_channel='alpha',
15041511
name_override=f"kops-aws-cni-{plugin}",
15051512
networking=networking_arg,
1506-
extra_flags=['--node-size=t3.large'],
1513+
extra_flags=extra_flags,
15071514
extra_dashboards=['kops-network-plugins'],
15081515
runs_per_day=3,
15091516
)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# 9 jobs, total of 189 runs per week
33
periodics:
44

5-
# {"cloud": "aws", "distro": "u2204", "extra_flags": "--node-size=t3.large --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "amazonvpc"}
5+
# {"cloud": "aws", "distro": "u2204", "extra_flags": "--node-size=t3.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", "kops_version": "latest", "networking": "amazonvpc"}
66
- name: e2e-kops-aws-cni-amazon-vpc
77
cron: '15 3-23/8 * * *'
88
labels:
@@ -32,7 +32,7 @@ periodics:
3232
-v 2 \
3333
--up --down \
3434
--cloud-provider=aws \
35-
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20250305' --channel=alpha --networking=amazonvpc --node-size=t3.large --discovery-store=s3://k8s-kops-prow/discovery" \
35+
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20250305' --channel=alpha --networking=amazonvpc --node-size=t3.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" \
3636
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci-updown-green.txt \
3737
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
3838
--test=kops \
@@ -57,7 +57,7 @@ periodics:
5757
annotations:
5858
test.kops.k8s.io/cloud: aws
5959
test.kops.k8s.io/distro: u2204
60-
test.kops.k8s.io/extra_flags: --node-size=t3.large --discovery-store=s3://k8s-kops-prow/discovery
60+
test.kops.k8s.io/extra_flags: --node-size=t3.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
6161
test.kops.k8s.io/k8s_version: stable
6262
test.kops.k8s.io/kops_channel: alpha
6363
test.kops.k8s.io/kops_version: latest

0 commit comments

Comments
 (0)