Skip to content

Commit

Permalink
remove CPU limits from individual steps
Browse files Browse the repository at this point in the history
  • Loading branch information
enkeefe00 committed Jan 13, 2025
1 parent cbfd101 commit 0b0dfad
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 58 deletions.
2 changes: 0 additions & 2 deletions task/build-image-index/0.1/build-image-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down Expand Up @@ -213,7 +212,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
3 changes: 0 additions & 3 deletions task/build-maven-zip-oci-ta/0.1/build-maven-zip-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ spec:
fi
computeResources:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "1"
Expand Down Expand Up @@ -167,7 +166,6 @@ spec:
fi
computeResources:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "1"
Expand Down Expand Up @@ -202,7 +200,6 @@ spec:
echo -n "${sbom_repo}:${sbom_tag}" | tee "$(results.SBOM_BLOB_URL.path)"
computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down
3 changes: 0 additions & 3 deletions task/build-maven-zip/0.1/build-maven-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ spec:
computeResources:
limits:
memory: 8Gi
cpu: '4'
requests:
memory: 2Gi
cpu: '1'
Expand Down Expand Up @@ -107,7 +106,6 @@ spec:
computeResources:
limits:
memory: 8Gi
cpu: '4'
requests:
memory: 2Gi
cpu: '1'
Expand Down Expand Up @@ -169,7 +167,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ spec:
workingDir: /var/workdir
- computeResources:
limits:
cpu: "2"
memory: 4Gi
requests:
cpu: 500m
Expand All @@ -320,7 +319,6 @@ spec:
workingDir: /var/workdir/source
- computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down Expand Up @@ -361,7 +359,6 @@ spec:
workingDir: /var/workdir
- computeResources:
limits:
cpu: "4"
memory: 4Gi
requests:
cpu: "1"
Expand Down Expand Up @@ -461,7 +458,6 @@ spec:
workingDir: /var/workdir
- computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down
3 changes: 0 additions & 3 deletions task/buildah-24gb/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 20Gi
- op: replace
path: /spec/steps/0/computeResources/limits/cpu
value: "20"
- op: replace
path: /spec/steps/0/computeResources/requests/cpu
value: "10"
Expand Down
12 changes: 0 additions & 12 deletions task/buildah-min/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 1Gi
- op: replace
path: /spec/steps/0/computeResources/limits/cpu
value: 2
- op: replace
path: /spec/steps/0/computeResources/requests/cpu
value: 100m
Expand All @@ -31,9 +28,6 @@
- op: replace
path: /spec/steps/4/computeResources/requests/memory
value: 128Mi
- op: replace
path: /spec/steps/4/computeResources/limits/cpu
value: 100m
- op: replace
path: /spec/steps/4/computeResources/requests/cpu
value: 10m
Expand All @@ -44,9 +38,6 @@
- op: replace
path: /spec/steps/5/computeResources/requests/memory
value: 128Mi
- op: replace
path: /spec/steps/5/computeResources/limits/cpu
value: 100m
- op: replace
path: /spec/steps/5/computeResources/requests/cpu
value: 10m
Expand All @@ -57,9 +48,6 @@
- op: replace
path: /spec/steps/6/computeResources/requests/memory
value: 512Mi
- op: replace
path: /spec/steps/6/computeResources/limits/cpu
value: 2
- op: replace
path: /spec/steps/6/computeResources/requests/cpu
value: 100m
3 changes: 0 additions & 3 deletions task/buildah-oci-ta/0.3/buildah-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ spec:
done
computeResources:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "1"
Expand Down Expand Up @@ -682,7 +681,6 @@ spec:
mv /tmp/sbom-cyclonedx.tmp.json sbom-cyclonedx.json
computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down Expand Up @@ -719,7 +717,6 @@ spec:
echo -n "${sbom_repo}@sha256:${sbom_digest}" | tee "$(results.SBOM_BLOB_URL.path)"
computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down
3 changes: 0 additions & 3 deletions task/buildah-remote-oci-ta/0.3/buildah-remote-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ spec:
- $(params.LABELS[*])
computeResources:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "1"
Expand Down Expand Up @@ -773,7 +772,6 @@ spec:
workingDir: /var/workdir/source
- computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down Expand Up @@ -822,7 +820,6 @@ spec:
workingDir: /var/workdir
- computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down
3 changes: 0 additions & 3 deletions task/buildah-remote/0.3/buildah-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ spec:
- $(params.LABELS[*])
computeResources:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "1"
Expand Down Expand Up @@ -751,7 +750,6 @@ spec:
workingDir: $(workspaces.source.path)/source
- computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down Expand Up @@ -800,7 +798,6 @@ spec:
workingDir: $(workspaces.source.path)
- computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down
3 changes: 0 additions & 3 deletions task/buildah/0.3/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
computeResources:
limits:
memory: 8Gi
cpu: '4'
requests:
memory: 2Gi
cpu: '1'
Expand Down Expand Up @@ -596,7 +595,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down Expand Up @@ -662,7 +660,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down
3 changes: 0 additions & 3 deletions task/clair-scan/0.2/clair-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down Expand Up @@ -84,7 +83,6 @@ spec:
computeResources:
limits:
memory: 4Gi
cpu: '2'
requests:
memory: 1Gi
cpu: 500m
Expand Down Expand Up @@ -185,7 +183,6 @@ spec:
computeResources:
limits:
memory: 2Gi
cpu: 500m
requests:
memory: 256Mi
cpu: 100m
Expand Down
2 changes: 0 additions & 2 deletions task/clamav-scan/0.2/clamav-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ spec:
computeResources:
limits:
memory: 8Gi
cpu: '2'
requests:
memory: 2Gi
cpu: 500m
Expand Down Expand Up @@ -167,7 +166,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down
2 changes: 0 additions & 2 deletions task/fbc-fips-check-oci-ta/0.1/fbc-fips-check-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ spec:
echo "${images_processed_template/\[%s]/[$digests_processed_string]}" >"/tekton/home/images_processed.txt"
computeResources:
limits:
cpu: "2"
memory: 8Gi
requests:
cpu: "1"
Expand All @@ -186,7 +185,6 @@ spec:
- name: fips-operator-check-step-action
computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down
2 changes: 0 additions & 2 deletions task/fbc-fips-check/0.1/fbc-fips-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ spec:
computeResources:
limits:
memory: 8Gi
cpu: '2'
requests:
memory: 8Gi
cpu: '1'
Expand Down Expand Up @@ -172,7 +171,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ spec:
echo "${images_processed_template/\[%s]/[$digests_processed_string]}" >/tekton/home/images_processed.txt
computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand All @@ -152,7 +151,6 @@ spec:
- name: fips-operator-check-step-action
computeResources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down Expand Up @@ -126,7 +125,6 @@ spec:
computeResources:
limits:
memory: 512Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 100m
Expand Down
1 change: 0 additions & 1 deletion task/git-clone-oci-ta/0.1/git-clone-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ spec:
value: $(params.ociArtifactExpiresAfter)
computeResources:
limits:
cpu: "1"
memory: 3Gi
requests:
cpu: "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ spec:
--for-output-dir=/cachi2/output
computeResources:
limits:
cpu: "1"
memory: 3Gi
requests:
cpu: "1"
Expand Down Expand Up @@ -426,7 +425,6 @@ spec:
value: $(params.ociArtifactExpiresAfter)
computeResources:
limits:
cpu: "1"
memory: 3Gi
requests:
cpu: "1"
Expand Down
1 change: 0 additions & 1 deletion task/prefetch-dependencies/0.1/prefetch-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ spec:
name: activation-key
computeResources:
limits:
cpu: '1'
memory: 3Gi
requests:
cpu: '1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ spec:
echo "${TEST_OUTPUT:-${ERROR_OUTPUT}}" | tee "$(results.TEST_OUTPUT.path)"
computeResources:
limits:
cpu: "16"
memory: 32Gi
requests:
cpu: "8"
Expand Down
1 change: 0 additions & 1 deletion task/sast-coverity-check/0.1/sast-coverity-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ spec:
cpu: "8"
limits:
memory: "32Gi"
cpu: "16"
# per https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
# the cluster will set imagePullPolicy to IfNotPresent
workingDir: $(workspaces.workspace.path)/hacbs/$(context.task.name)
Expand Down

0 comments on commit 0b0dfad

Please sign in to comment.