Skip to content

Commit e0eef99

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 77ecf46 commit e0eef99

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-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

0 commit comments

Comments
 (0)