diff --git a/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml b/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml index ed63c2655..b73a8ee17 100644 --- a/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-backend-deployment.yaml @@ -31,7 +31,11 @@ spec: - containerPort: 8080 resources: requests: - memory: 14Gi + memory: 10Gi + cpu: 250m + limits: + memory: 10Gi + cpu: 750m 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 4fe1aa6a0..c774a68b1 100644 --- a/k8chart-dev/ols4/templates/ols4-frontend-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-frontend-deployment.yaml @@ -28,9 +28,12 @@ spec: image: ghcr.io/ebispot/ols4-frontend:{{.Values.imageTag}} imagePullPolicy: Always resources: - requests: - cpu: 2 - memory: 4G + requests: + cpu: 250m + memory: 1Gi + limits: + cpu: 500m + memory: 1Gi ports: - containerPort: 8080 env: diff --git a/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml b/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml index 2a2c79d0f..76f808f55 100644 --- a/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-neo4j-deployment.yaml @@ -28,7 +28,11 @@ spec: args: ["rm -rf /data/* && wget -qO- $NEO4J_TARBALL_URL | tar -xz -C /data/ && tini -g -- /startup/docker-entrypoint.sh neo4j"] resources: requests: - memory: 20Gi + memory: 15Gi + cpu: 250m + limits: + memory: 15Gi + cpu: 750m 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 7f85bf321..1e4fc57b3 100644 --- a/k8chart-dev/ols4/templates/ols4-solr-deployment.yaml +++ b/k8chart-dev/ols4/templates/ols4-solr-deployment.yaml @@ -31,6 +31,10 @@ spec: resources: requests: memory: 8Gi + cpu: 250m + limits: + memory: 8Gi + cpu: 750m env: - name: SOLR_TARBALL_URL value: {{.Values.solrTarballUrl}}