Skip to content

Commit d48414c

Browse files
authored
build: Add CPU limits to scanner builds (#2293)
1 parent 49389e2 commit d48414c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.tekton/scanner-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ spec:
6868
# This is not required for multi-arch builds, because they are performed off cluster
6969
- name: build
7070
computeResources:
71+
limits:
72+
cpu: 2
7173
requests:
7274
cpu: 2
7375

.tekton/scanner-slim-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ spec:
6868
# This is not required for multi-arch builds, because they are performed off cluster
6969
- name: build
7070
computeResources:
71+
limits:
72+
cpu: 2
7173
requests:
7274
cpu: 2
7375

0 commit comments

Comments
 (0)