From 3d2cbc02c831e1e589a126d9017ef3111c72b02a Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Thu, 9 May 2024 16:18:47 +0200 Subject: [PATCH] chore(forgejo): update runner resources --- forgejo/resources/runners/act-runner-amd64.yaml | 14 ++++++++++++++ forgejo/resources/runners/act-runner-arm64.yaml | 16 +++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/forgejo/resources/runners/act-runner-amd64.yaml b/forgejo/resources/runners/act-runner-amd64.yaml index e46b9b6..eb1ec6e 100644 --- a/forgejo/resources/runners/act-runner-amd64.yaml +++ b/forgejo/resources/runners/act-runner-amd64.yaml @@ -73,6 +73,13 @@ spec: mountPath: /etc/act securityContext: privileged: true + resources: + requests: + memory: "250Mi" + cpu: "250m" + limits: + memory: "384Mi" + cpu: "750m" - name: daemon image: docker:23.0.6-dind env: @@ -85,6 +92,13 @@ spec: mountPath: /certs - name: runner-data mountPath: /data + resources: + requests: + memory: "256Mi" + cpu: "100m" + limits: + memory: "384Mi" + cpu: "250m" securityContext: fsGroup: 1000 nodeSelector: diff --git a/forgejo/resources/runners/act-runner-arm64.yaml b/forgejo/resources/runners/act-runner-arm64.yaml index ff82b1b..7d52e64 100644 --- a/forgejo/resources/runners/act-runner-arm64.yaml +++ b/forgejo/resources/runners/act-runner-arm64.yaml @@ -8,7 +8,7 @@ spec: matchLabels: app.kubernetes.io/name: act-runner app.kubernetes.io/instance: arm64 - replicas: 2 + replicas: 3 template: metadata: labels: @@ -74,6 +74,13 @@ spec: mountPath: /etc/act securityContext: privileged: true + resources: + requests: + memory: "384Mi" + cpu: "500m" + limits: + memory: "768Mi" + cpu: "1500m" - name: daemon image: docker:23.0.6-dind env: @@ -86,6 +93,13 @@ spec: mountPath: /certs - name: runner-data mountPath: /data + resources: + requests: + memory: "256Mi" + cpu: "200m" + limits: + memory: "512Mi" + cpu: "500m" securityContext: fsGroup: 1000 nodeSelector: