Skip to content

Commit 1ff1432

Browse files
committed
jobs: migrate kubernetes/community jobs to eks cluster
also, add cpu/mem limits and requests to the jobs Signed-off-by: Nabarun Pal <[email protected]>
1 parent 91901a1 commit 1ff1432

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

config/jobs/kubernetes/community/community-presubmit.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
presubmits:
22
kubernetes/community:
33
- name: pull-community-verify
4+
cluster: eks-prow-build-cluster
45
branches:
56
- master
67
always_run: true
@@ -13,10 +14,18 @@ presubmits:
1314
- "-c"
1415
# Add GOPATH/bin back to PATH to workaround #9469
1516
- "export PATH=$PATH:$GOPATH/bin && make verify"
17+
resources:
18+
limits:
19+
cpu: 2
20+
memory: 4Gi
21+
requests:
22+
cpu: 2
23+
memory: 4Gi
1624
annotations:
1725
testgrid-dashboards: sig-contribex-community
1826
testgrid-tab-name: pull-verify
1927
- name: pull-community-tempelis-check
28+
cluster: eks-prow-build-cluster
2029
decorate: true
2130
branches:
2231
- ^master$
@@ -32,6 +41,13 @@ presubmits:
3241
- --config=communication/slack-config/
3342
- --restrictions=communication/slack-config/restrictions.yaml
3443
- --auth=/etc/slack-auth/auth.json
44+
resources:
45+
limits:
46+
cpu: 2
47+
memory: 4Gi
48+
requests:
49+
cpu: 2
50+
memory: 4Gi
3551
volumeMounts:
3652
- name: tempelis-readonly-creds
3753
mountPath: /etc/slack-auth

config/jobs/kubernetes/enhancements/enhancements-presubmit.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ presubmits:
1111
- sh
1212
- "-c"
1313
- "export PATH=$PATH:$GOPATH/bin && ./hack/verify.sh"
14+
resources:
15+
limits:
16+
cpu: 2
17+
memory: 4Gi
18+
requests:
19+
cpu: 2
20+
memory: 4Gi
1421
- name: pull-enhancements-test
1522
cluster: eks-prow-build-cluster
1623
always_run: true
@@ -22,3 +29,10 @@ presubmits:
2229
- make
2330
- test
2431
- tools
32+
resources:
33+
limits:
34+
cpu: 2
35+
memory: 4Gi
36+
requests:
37+
cpu: 2
38+
memory: 4Gi

config/jobs/kubernetes/org/kubernetes-org-jobs.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@ presubmits:
1313
- make
1414
args:
1515
- test
16+
resources:
17+
limits:
18+
cpu: 2
19+
memory: 4Gi
20+
requests:
21+
cpu: 2
22+
memory: 4Gi
1623
annotations:
1724
testgrid-num-columns-recent: '30'
1825
testgrid-create-test-group: 'true'
26+
1927
- name: pull-org-verify-all
2028
cluster: eks-prow-build-cluster
2129
always_run: true
@@ -29,6 +37,13 @@ presubmits:
2937
- make
3038
args:
3139
- verify
40+
resources:
41+
limits:
42+
cpu: 2
43+
memory: 4Gi
44+
requests:
45+
cpu: 2
46+
memory: 4Gi
3247
annotations:
3348
testgrid-num-columns-recent: '30'
3449
testgrid-create-test-group: 'true'

0 commit comments

Comments
 (0)