From af1a352e876a6b17e4ec41449158d82ae4b7bbbd Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 27 Mar 2022 01:57:49 +0100 Subject: [PATCH] fix(goharbor): Add requests and limits for harbor This patch adds some requests and limits for harbor services to make sure things get properly scheduled and organised. --- apps/base/goharbor/release.yaml | 115 ++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/apps/base/goharbor/release.yaml b/apps/base/goharbor/release.yaml index 2ea0c6b8f..82a10cfd6 100644 --- a/apps/base/goharbor/release.yaml +++ b/apps/base/goharbor/release.yaml @@ -20,6 +20,121 @@ spec: enabled: true serviceMonitor: enabled: true + nginx: + resources: + requests: + memory: 128Mi + cpu: 100m + limits: + memory: 512Mi + cpu: 200m + portal: + resources: + requests: + memory: 64Mi + cpu: 10m + limits: + memory: 192Mi + cpu: 100m + core: + resources: + requests: + memory: 128Mi + cpu: 100m + limits: + memory: 256Mi + cpu: 200m + jobservice: + resources: + requests: + memory: 256Mi + cpu: 20m + limits: + memory: 512Mi + cpu: 150m + registry: + registry: + resources: + requests: + memory: 1024Mi + cpu: 250m + limits: + memory: 1536Mi + cpu: 750m + controller: + resources: + requests: + memory: 32Mi + cpu: 10m + limits: + memory: 128Mi + cpu: 250m + chartmuseum: + resources: + requests: + memory: 512Mi + cpu: 500m + limits: + memory: 1024Mi + cpu: 1500m + notary: + server: + requests: + memory: 64Mi + cpu: 20m + limits: + memory: 128Mi + cpu: 100m + signer: + requests: + memory: 64Mi + cpu: 20m + limits: + memory: 128Mi + cpu: 100m + database: + internal: + resources: + requests: + memory: 512Mi + cpu: 250m + limits: + memory: 512Mi + cpu: 1000m + initContainer: + migrator: + resources: + requests: + memory: 64Mi + cpu: 100m + limits: + memory: 128Mi + cpu: 200m + permissions: + resources: + requests: + memory: 32Mi + cpu: 10m + limits: + memory: 128Mi + cpu: 200m + redis: + internal: + resources: + requests: + memory: 128Mi + cpu: 100m + limits: + memory: 256Mi + cpu: 200m + exporter: + resources: + requests: + memory: 256Mi + cpu: 100m + limits: + memory: 512Mi + cpu: 500m # expose: # ingress: # hosts: -- GitLab