Skip to content

Commit

Permalink
jobs: migrate kubernetes/community jobs to eks cluster
Browse files Browse the repository at this point in the history
also, add cpu/mem limits and requests to the jobs

Signed-off-by: Nabarun Pal <[email protected]>
  • Loading branch information
palnabarun committed Jun 15, 2023
1 parent 91901a1 commit 1ff1432
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/jobs/kubernetes/community/community-presubmit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
presubmits:
kubernetes/community:
- name: pull-community-verify
cluster: eks-prow-build-cluster
branches:
- master
always_run: true
Expand All @@ -13,10 +14,18 @@ presubmits:
- "-c"
# Add GOPATH/bin back to PATH to workaround #9469
- "export PATH=$PATH:$GOPATH/bin && make verify"
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: sig-contribex-community
testgrid-tab-name: pull-verify
- name: pull-community-tempelis-check
cluster: eks-prow-build-cluster
decorate: true
branches:
- ^master$
Expand All @@ -32,6 +41,13 @@ presubmits:
- --config=communication/slack-config/
- --restrictions=communication/slack-config/restrictions.yaml
- --auth=/etc/slack-auth/auth.json
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
volumeMounts:
- name: tempelis-readonly-creds
mountPath: /etc/slack-auth
Expand Down
14 changes: 14 additions & 0 deletions config/jobs/kubernetes/enhancements/enhancements-presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ presubmits:
- sh
- "-c"
- "export PATH=$PATH:$GOPATH/bin && ./hack/verify.sh"
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
- name: pull-enhancements-test
cluster: eks-prow-build-cluster
always_run: true
Expand All @@ -22,3 +29,10 @@ presubmits:
- make
- test
- tools
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
15 changes: 15 additions & 0 deletions config/jobs/kubernetes/org/kubernetes-org-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ presubmits:
- make
args:
- test
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-num-columns-recent: '30'
testgrid-create-test-group: 'true'

- name: pull-org-verify-all
cluster: eks-prow-build-cluster
always_run: true
Expand All @@ -29,6 +37,13 @@ presubmits:
- make
args:
- verify
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-num-columns-recent: '30'
testgrid-create-test-group: 'true'

0 comments on commit 1ff1432

Please sign in to comment.