Skip to content

Commit

Permalink
chore: lower requests
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
  • Loading branch information
ThibaultFy committed Apr 25, 2024
1 parent 955b15c commit e95b155
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ spec:
- name: wait-registry
image: jwilder/dockerize:0.6.1
resources:
{{- toYaml .Values.registryPrepopulate.waitRegistry | nindent 12 }}
{{- toYaml $.Values.registryPrepopulate.waitRegistry | nindent 12 }}
command: ['dockerize', '-wait', 'tcp://{{ $.Release.Name }}-docker-registry:5000']
- name: kaniko
image: {{ include "common.images.name" $.Values.kaniko.image }}
resources:
{{- toYaml .Values.registryPrepopulate.kaniko.resources | nindent 12 }}
{{- toYaml $.Values.registryPrepopulate.kaniko.resources | nindent 12 }}
args:
- "--context=/docker-context"
{{- if .dstImage }}
Expand All @@ -53,7 +53,7 @@ spec:
- image: gcr.io/google-containers/pause:3.2
name: pause
resources:
{{- toYaml .Values.registryPrepopulate.pause.resources | nindent 12 }}
{{- toYaml $.Values.registryPrepopulate.pause.resources | nindent 12 }}
volumes:
- name: kaniko-dir
emptyDir: {}
Expand Down
56 changes: 28 additions & 28 deletions charts/substra-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ server:
##
resources:
requests:
cpu: "1000m"
memory: "6Gi"
cpu: "500m"
memory: "512Mi"
limits:
cpu: "2000m"
memory: "12Gi"
Expand Down Expand Up @@ -313,8 +313,8 @@ worker:
##
resources:
requests:
cpu: "1000m"
memory: "4Gi"
cpu: "500m"
memory: "512Mi"
limits:
cpu: "2000m"
memory: "8Gi"
Expand Down Expand Up @@ -378,8 +378,8 @@ worker:
##
resources:
requests:
memory: "200Mi"
cpu: "500m"
memory: "50Mi"
cpu: "100m"
limits:
memory: "400Mi"
cpu: "500m"
Expand Down Expand Up @@ -452,8 +452,8 @@ schedulerWorker:
##
resources:
requests:
cpu: "250m"
memory: "200Mi"
cpu: "100m"
memory: "50Mi"
limits:
cpu: "250m"
memory: "400Mi"
Expand Down Expand Up @@ -495,8 +495,8 @@ scheduler:
##
resources:
requests:
cpu: "250m"
memory: "200Mi"
cpu: "100m"
memory: "50Mi"
limits:
cpu: "250m"
memory: "400Mi"
Expand Down Expand Up @@ -572,8 +572,8 @@ builder:
##
resources:
requests:
cpu: "2000m"
memory: "4Gi"
cpu: "500m"
memory: "512Mi"
limits:
cpu: "2000m"
memory: "8Gi"
Expand Down Expand Up @@ -666,8 +666,8 @@ api:
##
resources:
requests:
memory: "200Mi"
cpu: "500m"
memory: "50Mi"
cpu: "100m"
limits:
memory: "400Mi"
cpu: "500m"
Expand Down Expand Up @@ -810,8 +810,8 @@ registryPrepopulate:
waitRegistry:
resources:
requests:
memory: "200Mi"
cpu: "500m"
memory: "50Mi"
cpu: "100m"
limits:
memory: "400Mi"
## @param registryPrepopulate.kaniko.resources.requests.cpu Kaniko container cpu request
Expand All @@ -821,8 +821,8 @@ registryPrepopulate:
kaniko:
resources:
requests:
memory: "2Gi"
cpu: "1000m"
memory: "256Mi"
cpu: "500m"
limits:
memory: "8Gi"
## @param registryPrepopulate.pause.resources.requests.cpu Pause container cpu request
Expand Down Expand Up @@ -939,8 +939,8 @@ postgresql:
- ALL
resources:
requests:
cpu: "1000m"
memory: "2Gi"
cpu: "100m"
memory: "256Mi"
limits:
cpu: "1000m"
memory: "4Gi"
Expand All @@ -960,8 +960,8 @@ redis:
redis: 6379
resources:
requests:
cpu: "500m"
memory: "512Mi"
cpu: "100m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "1024Mi"
Expand All @@ -986,8 +986,8 @@ docker-registry:
type: NodePort
resources:
requests:
cpu: "500m"
memory: "16Gi"
cpu: "100m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "64Gi"
Expand All @@ -1013,8 +1013,8 @@ minio:
- ALL
resources:
requests:
cpu: "500m"
memory: "16Gi"
cpu: "100m"
memory: "1Gi"
limits:
cpu: "1000m"
memory: "64Gi"
Expand All @@ -1028,8 +1028,8 @@ localstack:
nodePort: ""
resources:
requests:
cpu: "500m"
memory: "16Gi"
cpu: "100m"
memory: "1Gi"
limits:
cpu: "500m"
memory: "64Gi"
Expand Down

0 comments on commit e95b155

Please sign in to comment.