In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

Commit b273e3c9 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix deployments and config values

parent 5861e17b
Pipeline #33359 passed with stages
in 3 minutes and 32 seconds
deploymentName: di-table-data-transform-prod-deployment
applicationId: di-table-data-transform-prod-app
deploymentName: di-table-data-transform-prod
kafkaConfigs: prod-kafka-bootstrap-servers
sftpConfigs: internal-sftp-config
inputTopicName: mb-di-data-transform-prod
outputTopicName: mb-di-mapper-prod
reportingTopicName: mb-di-reporting-prod
\ No newline at end of file
reportingTopicName: mb-di-reporting-prod
k8sEnvironment: prod
\ No newline at end of file
deploymentName: di-table-data-transform-stage-deployment
applicationId: di-table-data-transform-stage-app
deploymentName: di-table-data-transform-stage
kafkaConfigs: prod-kafka-bootstrap-servers
sftpConfigs: internal-sftp-config
inputTopicName: mb-di-data-transform-stage
outputTopicName: mb-di-mapper-stage
reportingTopicName: mb-di-reporting-stage
\ No newline at end of file
reportingTopicName: mb-di-reporting-stage
k8sEnvironment: stage
\ No newline at end of file
deploymentName: di-table-data-transform-test-deployment
applicationId: di-table-data-transform-test-app
deploymentName: di-table-data-transform-test
kafkaConfigs: test-kafka-bootstrap-servers
sftpConfigs: internal-sftp-config
inputTopicName: mb-di-data-transform-prod
outputTopicName: mb-di-mapper-prod
reportingTopicName: mb-di-reporting-prod
\ No newline at end of file
reportingTopicName: mb-di-reporting-prod
k8sEnvironment: test
\ No newline at end of file
......@@ -4,7 +4,7 @@ metadata:
name: "{{ .Values.deploymentName }}-config"
namespace: memobase
data:
APPLICATION_ID: {{ .Values.applicationId }}
APPLICATION_ID: {{ .Values.deploymentName }}
REPORTING_STEP_NAME: "{{ .Values.reportingStepName }}"
TOPIC_IN: {{ .Values.inputTopicName }}
TOPIC_OUT: {{ .Values.outputTopicName }}
......
......@@ -11,7 +11,7 @@ spec:
selector:
matchLabels:
app: {{ .Values.deploymentName }}
replicas: 1
replicas: {{ .Values.k8sReplicas }}
template:
metadata:
labels:
......@@ -24,6 +24,13 @@ spec:
- name: "{{ .Values.deploymentName }}-container"
image: "{{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}"
imagePullPolicy: Always
resources:
requests:
cpu: "{{ .Values.k8sRequestsCpu }}"
memory: "{{ .Values.k8sRequestsMemory }}"
limits:
cpu: "{{ .Values.k8sLimitsCpu }}"
memory: "{{ .Values.k8sLimitsMemory }}"
envFrom:
- secretRef:
name: "{{ .Values.sftpConfigs }}"
......
......@@ -3,10 +3,16 @@ image: "memoriav/memobase-2020/services/import-process/table-data-transform"
tag: "latest"
deploymentName: placeholder
applicationId: placeholder
k8sEnvironment: placeholder
k8sReplicas: 1
k8sRequestsCpu: "0.1"
k8sRequestsMemory: "128Mi"
k8sLimitsCpu: "0.5"
k8sLimitsMemory: "512Mi"
kafkaConfigs: placeholder
sftpConfigs: placeholder
sftpConfigs: internal-sftp-config
reportingStepName: 02-table-data-transform
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment