From 2ed73fd8a4b54d3e5197f5d0272c13972c758267 Mon Sep 17 00:00:00 2001 From: henrietteharmse Date: Tue, 5 Sep 2023 13:30:52 +0100 Subject: [PATCH] Changed cpu limits for dev --- k8chart-dev/ols4/templates/ols4-backend-deployment.yaml | 4 ++-- k8chart-dev/ols4/templates/ols4-frontend-deployment.yaml | 4 ++-- k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml | 4 ++-- k8chart-dev/ols4/templates/ols4-solr-deployment.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml b/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml index b73a8ee17..d29063593 100644 --- a/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml @@ -32,10 +32,10 @@ spec: resources: requests: memory: 10Gi - cpu: 250m + cpu: 0.5 limits: memory: 10Gi - cpu: 750m + cpu: 2 env: - name: OLS_SOLR_HOST value: http://{{ .Release.Name }}-solr:8983 diff --git a/k8chart-dev/ols4/templates/ols4-frontend-deployment.yaml b/k8chart-dev/ols4/templates/ols4-frontend-deployment.yaml index c774a68b1..63f5236c6 100644 --- a/k8chart-dev/ols4/templates/ols4-frontend-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-frontend-deployment.yaml @@ -29,10 +29,10 @@ spec: imagePullPolicy: Always resources: requests: - cpu: 250m + cpu: 0.25 memory: 1Gi limits: - cpu: 500m + cpu: 1 memory: 1Gi ports: - containerPort: 8080 diff --git a/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml b/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml index 76f808f55..9040bc4ad 100644 --- a/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml @@ -29,10 +29,10 @@ spec: resources: requests: memory: 15Gi - cpu: 250m + cpu: 0.5 limits: memory: 15Gi - cpu: 750m + cpu: 2 env: - name: NEO4J_HEAP_MEMORY value: 10g diff --git a/k8chart-dev/ols4/templates/ols4-solr-deployment.yaml b/k8chart-dev/ols4/templates/ols4-solr-deployment.yaml index 1e4fc57b3..55a3fc24d 100644 --- a/k8chart-dev/ols4/templates/ols4-solr-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-solr-deployment.yaml @@ -31,10 +31,10 @@ spec: resources: requests: memory: 8Gi - cpu: 250m + cpu: 0.5 limits: memory: 8Gi - cpu: 750m + cpu: 2 env: - name: SOLR_TARBALL_URL value: {{.Values.solrTarballUrl}}