diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-02-04 18:26:39 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-02-04 19:05:05 +0000 |
| commit | 5896748e7b42c8f1b0cc2ceca4ba3dba2bed2618 (patch) | |
| tree | 9dfff3eea2bef1c1ed050684a1b6ae077faebb23 /syz-cluster/workflow/triage-step | |
| parent | b8793b80c86a1ef28adba22c14309d968bc4fc27 (diff) | |
syz-cluster: set resource limits
It will be important once we deploy to GKE.
For now, let's set just some limits, we'll adjust them over time.
Diffstat (limited to 'syz-cluster/workflow/triage-step')
| -rw-r--r-- | syz-cluster/workflow/triage-step/workflow-template.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/syz-cluster/workflow/triage-step/workflow-template.yaml b/syz-cluster/workflow/triage-step/workflow-template.yaml index 8228f3537..270c6a0fd 100644 --- a/syz-cluster/workflow/triage-step/workflow-template.yaml +++ b/syz-cluster/workflow/triage-step/workflow-template.yaml @@ -40,7 +40,19 @@ spec: container: image: triage-step-local imagePullPolicy: IfNotPresent - command: ["/bin/triage-step", "--session", "{{workflow.parameters.session-id}}", "--repository", "/workdir", "--verdict", "/output/result.json"] + command: ["/bin/triage-step"] + args: [ + "--session", "{{workflow.parameters.session-id}}", + "--repository", "/workdir", + "--verdict", "/output/result.json" + ] + resources: + requests: + cpu: 1 + memory: 8G + limits: + cpu: 4 + memory: 16G env: - name: GIT_DIR value: "/data/.git" |
