-
Notifications
You must be signed in to change notification settings - Fork 171
/
istio.yaml
510 lines (464 loc) · 13.8 KB
/
istio.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
org: istio
repo: istio
support_release_branching: true
image: gcr.io/istio-testing/build-tools:master-b9a4a433d98c4160b77c77a93be94f2aa07c5c4d
jobs:
- name: unit-tests
architectures: [amd64, arm64]
command: [entrypoint, make, -e, "T=-v -count=1", build, racetest, binaries-test]
resources: dedicated
- name: release-test
types: [presubmit]
command: [entrypoint, prow/release-test.sh]
requirements: [docker]
resources: dedicated
- name: release
service_account_name: prowjob-testing-write
types: [postsubmit]
command: [entrypoint, prow/release-commit.sh]
requirements: [docker]
resources: dedicated
- name: benchmark
types: [presubmit]
modifiers: [presubmit_optional, presubmit_skipped]
command: [entrypoint, make, benchtest]
resources: dedicated
- name: benchmark-report
types: [postsubmit]
command: [entrypoint, make, benchtest, report-benchtest]
resources: dedicated
- name: integ-cni
types: [presubmit]
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.pilot.kube.presubmit]
requirements: [kind]
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.istio.enableCNI=true "
- name: integ-telemetry
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.telemetry.kube]
requirements: [kind]
- name: integ-telemetry-discovery
env:
- name: INTEGRATION_TEST_FLAGS
value: --istio.test.peer_metadata_discovery
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.telemetry.kube]
requirements: [kind]
- name: integ-telemetry-mc
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- test.integration.telemetry.kube
requirements: [kind]
resources: multicluster
- name: integ-telemetry-istiodremote
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- --topology-config
- prow/config/topology/external-istiod.json
- test.integration.telemetry.kube
requirements: [kind]
resources: multicluster
env:
- name: INTEGRATION_TEST_FLAGS
value: --istio.test.skipVM
- name: integ-ambient-calico
modifiers: [presubmit_optional, presubmit_skipped]
requirements: [kind]
env:
- name: INTEGRATION_TEST_FLAGS
value: --istio.test.ambient
- name: KUBERNETES_CNI
value: "calico"
command:
- entrypoint
- prow/integ-suite-kind.sh
- --kind-config
- prow/config/ambient-sc.yaml
- test.integration.ambient.kube
- name: integ-distroless
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.kube.environment]
requirements: [kind]
env:
- name: VARIANT
value: "distroless"
# Temporary job to test tracing
- name: experimental-tracing
types: [presubmit]
modifiers: [presubmit_optional, presubmit_skipped]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- test.integration.kube
requirements: [kind, tracing]
resources: multicluster
- name: integ-ipv6
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.kube.environment]
requirements: [kind]
env:
- name: DOCKER_IN_DOCKER_IPV6_ENABLED
value: "true"
- name: IP_FAMILY
value: "ipv6"
- name: integ-ds
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.kube.environment]
requirements: [kind]
env:
- name: DOCKER_IN_DOCKER_IPV6_ENABLED
value: "true"
- name: IP_FAMILY
value: "dual"
- name: integ-basic
architectures: [arm64]
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.kube.environment]
requirements: [kind]
- name: integ-operator-controller
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.operator.kube]
requirements: [kind]
- name: integ-pilot
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.pilot.kube]
requirements: [kind]
- name: integ-pilot-cpp
types: [postsubmit]
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.pilot.kube]
requirements: [kind]
env:
# TODO(yashykt): Move the code for this image to the istio repository.
- name: GRPC_ECHO_IMAGE
value: "grpctesting/istio_echo_cpp"
- name: integ-pilot-multicluster
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- test.integration.pilot.kube
requirements: [kind]
resources: multicluster
- name: integ-pilot-istiodremote
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- --topology-config
- prow/config/topology/external-istiod.json
- test.integration.pilot.kube
requirements: [kind]
resources: multicluster
env:
- name: INTEGRATION_TEST_FLAGS
value: --istio.test.skipVM
- name: integ-pilot-istiodremote-mc
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- --topology-config
- prow/config/topology/external-istiod-multicluster.json
- test.integration.pilot.kube
requirements: [kind]
resources: multicluster
env:
- name: INTEGRATION_TEST_FLAGS
value: --istio.test.skipVM
- name: integ-security
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.security.kube]
requirements: [kind]
- name: integ-security-fuzz
types: [periodic]
cron: "0 7 * * *" # starts every day at 07:00AM UTC
command: [entrypoint, prow/integ-suite-kind.sh, test.integration-fuzz.security.fuzz.kube]
requirements: [kind]
- name: integ-security-multicluster
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- test.integration.security.kube
requirements: [kind]
resources: multicluster
- name: integ-security-istiodremote
command:
- entrypoint
- prow/integ-suite-kind.sh
- --topology
- MULTICLUSTER
- --topology-config
- prow/config/topology/external-istiod.json
- test.integration.security.kube
requirements: [kind]
resources: multicluster
env:
- name: INTEGRATION_TEST_FLAGS
value: --istio.test.skipVM
- name: integ-ambient
requirements: [kind]
env:
- name: INTEGRATION_TEST_FLAGS
value: --istio.test.ambient
command:
- entrypoint
- prow/integ-suite-kind.sh
- --kind-config
- prow/config/ambient-sc.yaml
- test.integration.ambient.kube
- name: integ-ambient-ipv6
modifiers: [presubmit_optional, presubmit_skipped]
requirements: [kind]
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.kube.helm.values=cni.ambient.ipv6=true --istio.test.ambient "
- name: DOCKER_IN_DOCKER_IPV6_ENABLED
value: "true"
- name: IP_FAMILY
value: "ipv6"
command:
- entrypoint
- prow/integ-suite-kind.sh
- --kind-config
- prow/config/ambient-sc.yaml
- test.integration.ambient.kube
- name: integ-helm
command: [entrypoint, prow/integ-suite-kind.sh, test.integration.helm.kube]
requirements: [kind]
# The node image must be kept in sync with the kind version we use.
# See istio.io/tools/docker/build-tools to build a kind image
- name: integ-k8s-123
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --node-image
- gcr.io/istio-testing/kind-node:v1.23.9
- --kind-config
- prow/config/mixedlb-service.yaml
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 "
- name: integ-k8s-124
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --node-image
- gcr.io/istio-testing/kind-node:v1.24.9
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 "
- name: integ-k8s-125
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --node-image
- gcr.io/istio-testing/kind-node:v1.25.9
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 "
- name: integ-k8s-126
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --node-image
- gcr.io/istio-testing/kind-node:v1.26.6
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 "
- name: integ-k8s-127
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --node-image
- gcr.io/istio-testing/kind-node:v1.27.8
- --kind-config
- prow/config/modern.yaml
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 "
- name: integ-k8s-128
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --node-image
- gcr.io/istio-testing/kind-node:v1.28.4
- --kind-config
- prow/config/modern.yaml
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 "
- name: integ-k8s-129
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- --node-image
- gcr.io/istio-testing/kind-node:v1.29.0
- --kind-config
- prow/config/modern.yaml
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 "
- name: integ-cni
types: [postsubmit]
command:
- entrypoint
- prow/integ-suite-kind.sh
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: TEST_SELECT
value: "-flaky"
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.retries=1 --istio.test.istio.enableCNI=true "
# Test with assertions enabled.
- name: integ-assertion
modifiers: [presubmit_optional, presubmit_skipped] # We run this in postsubmit always, but let developers explicitly run in presubmit
command:
- entrypoint
- prow/integ-suite-kind.sh
- test.integration.kube
requirements: [kind]
timeout: 4h
env:
- name: INTEGRATION_TEST_FLAGS
value: " --istio.test.istio.operatorOptions=values.pilot.env.UNSAFE_PILOT_ENABLE_RUNTIME_ASSERTIONS=true "
- name: lint
types: [presubmit]
command: [make, lint]
resources: lint
- name: gencheck
types: [presubmit]
command: [make, gen-check]
- name: release-notes
types: [presubmit]
command:
- entrypoint
- gen-release-notes
- --checkLabel
- --validateOnly
requirements: [github-readonly]
# Recreate base images if the dockerfile changes (in postsubmit)
- name: build-base-images
repos: [istio/release-builder@master]
types: [postsubmit]
regex: '^(docker|pkg/.*)/Dockerfile.([a-zA-Z0-9_]+_)?base(_[a-zA-Z0-9_]+)?$'
env:
- name: VERSION
value: "master"
- name: ALWAYS_GENERATE_BASE_IMAGE
value: "true"
command: [entrypoint, ../release-builder/release/build-base-images.sh]
requirements: [build-base, docker]
- name: bookinfo-build
types: [presubmit]
command: [entrypoint, make, bookinfo.build]
regex: '^samples/bookinfo/src/'
requirements: [docker]
# Try to create the Mac binaries. Ocassionally a change breaks the ability to build on MacOS.
- name: macbuildcheck
types: [presubmit]
command: [make, -e, "TARGET_OS=darwin", build]
- name: update-go-control-plane
types: [periodic]
cron: "0 2 * * 0" # run each Sunday at 02:00AM UTC
command:
- entrypoint
- ../test-infra/tools/automator/automator.sh
- --org=$AUTOMATOR_ORG
- --repo=istio
- "--title=Automator: update go-control-plane in $AUTOMATOR_ORG/$AUTOMATOR_REPO@$AUTOMATOR_BRANCH"
- --labels=auto-merge,release-notes-none
- --modifier=update_deps
- --token-env
- --cmd=go get github.com/envoyproxy/go-control-plane@main && go mod tidy && make gen
disable_release_branching: true
requirements: [github-istio-testing]
repos: [istio/test-infra@master]
env:
- name: AUTOMATOR_ORG
value: istio
- name: update-ztunnel
types: [periodic]
interval: 24h
command:
- entrypoint
- ../test-infra/tools/automator/automator.sh
- --org=$AUTOMATOR_ORG
- --repo=istio
- "--title=Automator: update ztunnel@$AUTOMATOR_BRANCH in $AUTOMATOR_ORG/$AUTOMATOR_REPO@$AUTOMATOR_BRANCH"
- --labels=auto-merge,release-notes-none
- --modifier=update_ztunnel_dep
- --token-env
- --cmd=./bin/update_ztunnel.sh
requirements: [github-istio-testing]
repos: [istio/test-infra@master]
env:
- name: AUTOMATOR_ORG
value: istio
resources_presets:
default:
requests:
memory: "3Gi"
cpu: "5000m"
limits:
memory: "24Gi"
cpu: "5000m"
# TODO: this was set while investigating https://github.com/istio/istio/issues/32985
# We should consider if this is needed long term, as its expensive
multicluster:
requests:
memory: "3Gi"
# This ensures we have at most one multicluster job on a node
# Nodes have 16CPUs, with some overhead
cpu: "8000m"
limits:
memory: "24Gi"
cpu: "8000m"
lint:
requests:
memory: "16Gi"
cpu: "3000m"
limits:
memory: "24Gi"
# Give 15 CPUs which will put us on a dedicated node, for consistency
dedicated:
requests:
memory: "8Gi"
cpu: "15000m"
limits:
memory: "24Gi"
requirements: [gocache]