Skip to content

Commit

Permalink
jobs: migrate kubernetes/image-builder jobs to eks cluster
Browse files Browse the repository at this point in the history
- add missing resource limits

Signed-off-by: Iftach Konshtok <[email protected]>
  • Loading branch information
iftachk committed Jun 9, 2023
1 parent 1aca458 commit 21eef79
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
presubmits:
kubernetes-sigs/image-builder:
- name: pull-ova-all
cluster: eks-prow-build-cluster
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
Expand All @@ -20,6 +21,8 @@ presubmits:
resources:
requests:
cpu: "1000m"
limits:
cpu: "1000m"
securityContext:
privileged: true
capabilities:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
presubmits:
kubernetes-sigs/image-builder:
- name: pull-azure-vhds
cluster: eks-prow-build-cluster
labels:
preset-azure-cred: "true"
decorate: true
Expand All @@ -18,6 +19,8 @@ presubmits:
resources:
requests:
cpu: 1000m
limits:
cpu: 1000m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-image-builder
testgrid-tab-name: pr-azure-vhds
Expand All @@ -43,10 +46,13 @@ presubmits:
resources:
requests:
cpu: 1000m
limits:
cpu: 1000m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-image-builder
testgrid-tab-name: pr-azure-sigs
- name: json-sort-check
cluster: eks-prow-build-cluster
decorate: true
run_if_changed: 'images/capi/.*\.json$'
decoration_config:
Expand All @@ -62,10 +68,13 @@ presubmits:
resources:
requests:
cpu: 1000m
limits:
cpu: 1000m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-image-builder
testgrid-tab-name: pr-json-sort-check
- name: pull-packer-validate
cluster: eks-prow-build-cluster
decorate: true
run_if_changed: 'images/capi/Makefile|images/capi/packer/.*|images/capi/scripts/ci-packer-validate\.sh|images/capi/scripts/ensure-packer\.sh'
decoration_config:
Expand Down Expand Up @@ -106,10 +115,14 @@ presubmits:
requests:
memory: "4Gi"
cpu: 2000m
limits:
memory: "4Gi"
cpu: 2000m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-image-builder
testgrid-tab-name: pr-pull-image-builder-gcp-all
- name: pull-goss-populate
cluster: eks-prow-build-cluster
path_alias: sigs.k8s.io/image-builder
run_if_changed: 'images/capi/packer/config/.*|images/capi/packer/goss/.*|images/capi/scripts/ci-goss-populate\.sh|images/capi/hack/generate-goss-specs\.py'
decorate: true
Expand Down Expand Up @@ -144,6 +157,9 @@ presubmits:
requests:
cpu: "4000m"
memory: "6Gi"
limits:
cpu: "4000m"
memory: "6Gi"
securityContext:
privileged: true
capabilities:
Expand Down

0 comments on commit 21eef79

Please sign in to comment.