From 41cd0b6ade3a4f39047ef2729e6cbea57eb9c410 Mon Sep 17 00:00:00 2001 From: Zoran Regvart Date: Mon, 20 Nov 2023 13:30:50 +0100 Subject: [PATCH 1/2] Request 300MiB of memory for the validate step The task is being OOM reaped, let's increase the requested memory so that the task is scheduled on a node that has at least 300MiB of memory available. --- .../0.1/verify-enterprise-contract.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml index 4b89c135b..ae674dea5 100644 --- a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml +++ b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml @@ -187,6 +187,9 @@ spec: # files from an image, see https://github.com/enterprise-contract/ec-cli/issues/1109 - name: EC_CACHE value: "false" + computeResources: + requests: + memory: 300m - name: report image: quay.io/enterprise-contract/ec-cli:snapshot command: [cat] From 8035b3e3a6aa6dc33c79ec6fef1a97cf2c3d49b3 Mon Sep 17 00:00:00 2001 From: Zoran Regvart Date: Tue, 21 Nov 2023 10:38:38 +0100 Subject: [PATCH 2/2] Request 300MiB of memory for the validate step The task is being OOM reaped, let's increase the requested memory so that the task is scheduled on a node that has at least 300MiB of memory available. --- .../0.1/verify-enterprise-contract.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml index ae674dea5..f7392c0ac 100644 --- a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml +++ b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml @@ -189,7 +189,9 @@ spec: value: "false" computeResources: requests: - memory: 300m + memory: 300Mi + limits: + memory: 300Mi - name: report image: quay.io/enterprise-contract/ec-cli:snapshot command: [cat]