configure resource-quotas for all stages

main
Johannes Wicovsky 3 years ago
parent 9508082755
commit 947c8190e6

@ -8,5 +8,3 @@ smardigo:
ocr: ocr:
host: prodnso-mobene-nsodev-01-ocr.smardigo.digital host: prodnso-mobene-nsodev-01-ocr.smardigo.digital
api_token: ZXlKbGJtTWlPaUpCTVRJNFEwSkRMVWhUTWpVMklpd2lZV3huSWpvaVpHbHlJbjAuLl92ajdtMXRhdlEzSnJmRmRfSmQzc0EuaFRlMmVBLWZZa21JSEFhRi1jV2tiV2xhcEs5dzVZNFJsRkx6MExMbXVnZy5lY1hoWEZfRmF6Z2RXRDZPdG1fME9B api_token: ZXlKbGJtTWlPaUpCTVRJNFEwSkRMVWhUTWpVMklpd2lZV3huSWpvaVpHbHlJbjAuLl92ajdtMXRhdlEzSnJmRmRfSmQzc0EuaFRlMmVBLWZZa21JSEFhRi1jV2tiV2xhcEs5dzVZNFJsRkx6MExMbXVnZy5lY1hoWEZfRmF6Z2RXRDZPdG1fME9B
version: 10.3.0
with_limits: true

@ -16,7 +16,6 @@ spec:
containers: containers:
- name: "{{ .Release.Name }}-mobene-uba" - name: "{{ .Release.Name }}-mobene-uba"
image: "{{ .Values.mobene.uba.image }}:{{ .Values.mobene.uba.version }}" image: "{{ .Values.mobene.uba.image }}:{{ .Values.mobene.uba.version }}"
{{ if .Values.smardigo.ocr.with_limits }}
resources: resources:
requests: requests:
memory: "0.5Gi" memory: "0.5Gi"
@ -24,7 +23,6 @@ spec:
limits: limits:
memory: "0.5Gi" memory: "0.5Gi"
cpu: "0.25" cpu: "0.25"
{{ end }}
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: SPRING_PROFILES_INCLUDE - name: SPRING_PROFILES_INCLUDE

@ -15,7 +15,6 @@ spec:
containers: containers:
- name: "{{ .Release.Name }}-smardigo-ocr-postgres" - name: "{{ .Release.Name }}-smardigo-ocr-postgres"
image: postgres:{{ .Values.smardigo.ocr.postgres.version }} image: postgres:{{ .Values.smardigo.ocr.postgres.version }}
{{ if .Values.smardigo.ocr.with_limits }}
resources: resources:
requests: requests:
memory: "0.5Gi" memory: "0.5Gi"
@ -23,7 +22,6 @@ spec:
limits: limits:
memory: "0.5Gi" memory: "0.5Gi"
cpu: "0.25" cpu: "0.25"
{{ end }}
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: POSTGRES_DB - name: POSTGRES_DB
@ -34,7 +32,6 @@ spec:
value: "{{ .Values.smardigo.ocr.postgres.password }}" value: "{{ .Values.smardigo.ocr.postgres.password }}"
- name: "{{ .Release.Name }}-smardigo-ocr-backend" - name: "{{ .Release.Name }}-smardigo-ocr-backend"
image: "{{ .Values.smardigo.ocr.image }}:{{ .Values.smardigo.ocr.version }}" image: "{{ .Values.smardigo.ocr.image }}:{{ .Values.smardigo.ocr.version }}"
{{ if .Values.smardigo.ocr.with_limits }}
resources: resources:
requests: requests:
memory: "1.5Gi" memory: "1.5Gi"
@ -42,7 +39,6 @@ spec:
limits: limits:
memory: "1.5Gi" memory: "1.5Gi"
cpu: "1" cpu: "1"
{{ end }}
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: SPRING_PROFILES_INCLUDE - name: SPRING_PROFILES_INCLUDE

@ -16,7 +16,6 @@ spec:
containers: containers:
- name: "{{ .Release.Name }}-smardigo-sepa-exporter" - name: "{{ .Release.Name }}-smardigo-sepa-exporter"
image: "{{ .Values.smardigo.sepa_exporter.image }}:{{ .Values.smardigo.sepa_exporter.version }}" image: "{{ .Values.smardigo.sepa_exporter.image }}:{{ .Values.smardigo.sepa_exporter.version }}"
{{ if .Values.smardigo.ocr.with_limits }}
resources: resources:
requests: requests:
memory: "0.5Gi" memory: "0.5Gi"
@ -24,7 +23,6 @@ spec:
limits: limits:
memory: "0.5Gi" memory: "0.5Gi"
cpu: "0.25" cpu: "0.25"
{{ end }}
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: SPRING_PROFILES_INCLUDE - name: SPRING_PROFILES_INCLUDE

@ -10,13 +10,12 @@ smardigo:
version: 9.0.1 version: 9.0.1
ocr: ocr:
image: prodnso-harbor-01.smardigo.digital/smardigo/smardigo-ocr-app image: prodnso-harbor-01.smardigo.digital/smardigo/smardigo-ocr-app
version: 10.2.0 version: 10.3.0
postgres: postgres:
version: 14 version: 14
db: ocr-postgres db: ocr-postgres
user: ocr-postgres-admin user: ocr-postgres-admin
password: ocr-postgres-admin password: ocr-postgres-admin
with_limits: false
mobene: mobene:
uba: uba:

Loading…
Cancel
Save