Skip to content

Commit df93b64

Browse files
committed
kOps: Disable IRSA until dynamic discovery buckets are available
1 parent 657bb76 commit df93b64

11 files changed

+375
-416
lines changed

config/jobs/kubernetes/kops/build_jobs.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,15 @@ def build_test(cloud='aws',
154154
tab = name_override or (f"kops-grid{suffix}")
155155
job_name = f"e2e-{tab}"
156156

157-
if irsa and cloud == "aws" and scenario is None and terraform_version is None:
158-
if extra_flags is None:
159-
extra_flags = []
160-
if build_cluster == "k8s-infra-kops-prow-build":
161-
# TODO: migrate to an s3 bucket within the k8s-infra-kops-prow-build cluster's account
162-
extra_flags.append("--discovery-store=s3://k8s-kops-prow/discovery")
163-
else:
164-
extra_flags.append("--discovery-store=s3://k8s-kops-ci-prow/discovery")
157+
# TODO: Uncomment when dynamic discovery buckets are available
158+
# if irsa and cloud == "aws" and scenario is None and terraform_version is None:
159+
# if extra_flags is None:
160+
# extra_flags = []
161+
# if build_cluster == "k8s-infra-kops-prow-build":
162+
# # TODO: migrate to an s3 bucket within the k8s-infra-kops-prow-build cluster's account
163+
# extra_flags.append("--discovery-store=s3://k8s-kops-prow/discovery")
164+
# else:
165+
# extra_flags.append("--discovery-store=s3://k8s-kops-ci-prow/discovery")
165166

166167
marker, k8s_deploy_url, test_package_url, test_package_dir = k8s_version_info(k8s_version)
167168
args = create_args(kops_channel, networking, extra_flags, kops_image)
@@ -354,9 +355,10 @@ def presubmit_test(branch='master',
354355
if extra_flags is None:
355356
extra_flags = []
356357

357-
if (irsa and cloud == "aws" and scenario is None and
358-
terraform_version is None and name != "pull-kops-aws-distro-al2023"):
359-
extra_flags.append("--discovery-store=s3://k8s-kops-prow/discovery")
358+
# TODO: Uncomment when dynamic discovery buckets are available
359+
# if (irsa and cloud == "aws" and scenario is None and
360+
# terraform_version is None and name != "pull-kops-aws-distro-al2023"):
361+
# extra_flags.append("--discovery-store=s3://k8s-kops-prow/discovery")
360362

361363
marker, k8s_deploy_url, test_package_url, test_package_dir = k8s_version_info(k8s_version)
362364
args = create_args(kops_channel, networking, extra_flags, kops_image)

config/jobs/kubernetes/kops/kops-periodics-conformance.yaml

Lines changed: 30 additions & 30 deletions
Large diffs are not rendered by default.

config/jobs/kubernetes/kops/kops-periodics-distros.yaml

Lines changed: 34 additions & 42 deletions
Large diffs are not rendered by default.

config/jobs/kubernetes/kops/kops-periodics-misc2.yaml

Lines changed: 97 additions & 102 deletions
Large diffs are not rendered by default.

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

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

config/jobs/kubernetes/kops/kops-periodics-nftables.yaml

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

5-
# {"cloud": "aws", "distro": "al2023", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
5+
# {"cloud": "aws", "distro": "al2023", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
66
- name: e2e-kops-aws-nftables-al2023
77
cron: '26 7-23/8 * * *'
88
labels:
@@ -32,7 +32,7 @@ periodics:
3232
-v 2 \
3333
--up --down \
3434
--cloud-provider=aws \
35-
--create-args="--image='137112412989/al2023-ami-2023.8.20250915.0-kernel-6.12-x86_64' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery" \
35+
--create-args="--image='137112412989/al2023-ami-2023.8.20250915.0-kernel-6.12-x86_64' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables" \
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: al2023
60-
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery
60+
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables
6161
test.kops.k8s.io/k8s_version: stable
6262
test.kops.k8s.io/kops_channel: alpha
6363
test.kops.k8s.io/kops_version: latest
@@ -66,7 +66,7 @@ periodics:
6666
testgrid-days-of-results: '90'
6767
testgrid-tab-name: kops-aws-nftables-al2023
6868

69-
# {"cloud": "aws", "distro": "deb12", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
69+
# {"cloud": "aws", "distro": "deb12", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
7070
- name: e2e-kops-aws-nftables-deb12
7171
cron: '56 0-23/8 * * *'
7272
labels:
@@ -96,7 +96,7 @@ periodics:
9696
-v 2 \
9797
--up --down \
9898
--cloud-provider=aws \
99-
--create-args="--image='136693071363/debian-12-amd64-20250909-2230' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery" \
99+
--create-args="--image='136693071363/debian-12-amd64-20250909-2230' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables" \
100100
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci-updown-green.txt \
101101
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
102102
--test=kops \
@@ -121,7 +121,7 @@ periodics:
121121
annotations:
122122
test.kops.k8s.io/cloud: aws
123123
test.kops.k8s.io/distro: deb12
124-
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery
124+
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables
125125
test.kops.k8s.io/k8s_version: stable
126126
test.kops.k8s.io/kops_channel: alpha
127127
test.kops.k8s.io/kops_version: latest
@@ -130,7 +130,7 @@ periodics:
130130
testgrid-days-of-results: '90'
131131
testgrid-tab-name: kops-aws-nftables-deb12
132132

133-
# {"cloud": "aws", "distro": "deb13", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
133+
# {"cloud": "aws", "distro": "deb13", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
134134
- name: e2e-kops-aws-nftables-deb13
135135
cron: '54 6-23/8 * * *'
136136
labels:
@@ -160,7 +160,7 @@ periodics:
160160
-v 2 \
161161
--up --down \
162162
--cloud-provider=aws \
163-
--create-args="--image='136693071363/debian-13-amd64-20250911-2232' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery" \
163+
--create-args="--image='136693071363/debian-13-amd64-20250911-2232' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables" \
164164
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci-updown-green.txt \
165165
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
166166
--test=kops \
@@ -185,7 +185,7 @@ periodics:
185185
annotations:
186186
test.kops.k8s.io/cloud: aws
187187
test.kops.k8s.io/distro: deb13
188-
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery
188+
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables
189189
test.kops.k8s.io/k8s_version: stable
190190
test.kops.k8s.io/kops_channel: alpha
191191
test.kops.k8s.io/kops_version: latest
@@ -194,7 +194,7 @@ periodics:
194194
testgrid-days-of-results: '90'
195195
testgrid-tab-name: kops-aws-nftables-deb13
196196

197-
# {"cloud": "aws", "distro": "flatcar", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
197+
# {"cloud": "aws", "distro": "flatcar", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
198198
- name: e2e-kops-aws-nftables-flatcar
199199
cron: '45 7-23/8 * * *'
200200
labels:
@@ -224,7 +224,7 @@ periodics:
224224
-v 2 \
225225
--up --down \
226226
--cloud-provider=aws \
227-
--create-args="--image='075585003325/Flatcar-beta-4426.1.0-hvm' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery" \
227+
--create-args="--image='075585003325/Flatcar-beta-4426.1.0-hvm' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables" \
228228
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci-updown-green.txt \
229229
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
230230
--validation-wait=20m \
@@ -250,7 +250,7 @@ periodics:
250250
annotations:
251251
test.kops.k8s.io/cloud: aws
252252
test.kops.k8s.io/distro: flatcar
253-
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery
253+
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables
254254
test.kops.k8s.io/k8s_version: stable
255255
test.kops.k8s.io/kops_channel: alpha
256256
test.kops.k8s.io/kops_version: latest
@@ -259,7 +259,7 @@ periodics:
259259
testgrid-days-of-results: '90'
260260
testgrid-tab-name: kops-aws-nftables-flatcar
261261

262-
# {"cloud": "aws", "distro": "rhel8", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
262+
# {"cloud": "aws", "distro": "rhel8", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
263263
- name: e2e-kops-aws-nftables-rhel8
264264
cron: '45 5-23/8 * * *'
265265
labels:
@@ -289,7 +289,7 @@ periodics:
289289
-v 2 \
290290
--up --down \
291291
--cloud-provider=aws \
292-
--create-args="--image='309956199498/RHEL-8.9.0_HVM-20240327-x86_64-4-Hourly2-GP3' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery" \
292+
--create-args="--image='309956199498/RHEL-8.9.0_HVM-20240327-x86_64-4-Hourly2-GP3' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables" \
293293
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci-updown-green.txt \
294294
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
295295
--test=kops \
@@ -314,7 +314,7 @@ periodics:
314314
annotations:
315315
test.kops.k8s.io/cloud: aws
316316
test.kops.k8s.io/distro: rhel8
317-
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery
317+
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables
318318
test.kops.k8s.io/k8s_version: stable
319319
test.kops.k8s.io/kops_channel: alpha
320320
test.kops.k8s.io/kops_version: latest
@@ -323,7 +323,7 @@ periodics:
323323
testgrid-days-of-results: '90'
324324
testgrid-tab-name: kops-aws-nftables-rhel8
325325

326-
# {"cloud": "aws", "distro": "u2204", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
326+
# {"cloud": "aws", "distro": "u2204", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
327327
- name: e2e-kops-aws-nftables-u2204
328328
cron: '9 5-23/8 * * *'
329329
labels:
@@ -353,7 +353,7 @@ periodics:
353353
-v 2 \
354354
--up --down \
355355
--cloud-provider=aws \
356-
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20250918' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery" \
356+
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20250918' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables" \
357357
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci-updown-green.txt \
358358
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
359359
--test=kops \
@@ -378,7 +378,7 @@ periodics:
378378
annotations:
379379
test.kops.k8s.io/cloud: aws
380380
test.kops.k8s.io/distro: u2204
381-
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery
381+
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables
382382
test.kops.k8s.io/k8s_version: stable
383383
test.kops.k8s.io/kops_channel: alpha
384384
test.kops.k8s.io/kops_version: latest
@@ -387,7 +387,7 @@ periodics:
387387
testgrid-days-of-results: '90'
388388
testgrid-tab-name: kops-aws-nftables-u2204
389389

390-
# {"cloud": "aws", "distro": "u2404", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
390+
# {"cloud": "aws", "distro": "u2404", "extra_flags": "--set=cluster.spec.kubeProxy.proxyMode=nftables", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
391391
- name: e2e-kops-aws-nftables-u2404
392392
cron: '19 7-23/8 * * *'
393393
labels:
@@ -417,7 +417,7 @@ periodics:
417417
-v 2 \
418418
--up --down \
419419
--cloud-provider=aws \
420-
--create-args="--image='099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20250920' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery" \
420+
--create-args="--image='099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20250920' --channel=alpha --networking=cilium --set=cluster.spec.kubeProxy.proxyMode=nftables" \
421421
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci-updown-green.txt \
422422
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
423423
--test=kops \
@@ -442,7 +442,7 @@ periodics:
442442
annotations:
443443
test.kops.k8s.io/cloud: aws
444444
test.kops.k8s.io/distro: u2404
445-
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables --discovery-store=s3://k8s-kops-prow/discovery
445+
test.kops.k8s.io/extra_flags: --set=cluster.spec.kubeProxy.proxyMode=nftables
446446
test.kops.k8s.io/k8s_version: stable
447447
test.kops.k8s.io/kops_channel: alpha
448448
test.kops.k8s.io/kops_version: latest

0 commit comments

Comments
 (0)