Skip to content

Commit 46e229d

Browse files
committed
add resources for import job
1 parent e81219e commit 46e229d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

k8s/preview/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.10
18+
version: 0.1.11
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

k8s/preview/templates/dataimport.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ spec:
3333
value: {{ .Values.oidc.data_import.bucket }}
3434
command: [ "/bin/sh","-c" ]
3535
args: [ "s3cmd get s3://${S3_BUCKET}/final.jsonl --host=${S3_HOST} --access_key=${S3_KEYID} --secret_key=${S3_KEY} --host-bucket=${S3_BUCKET}.${S3_HOST}; python3 /project/import_elastic.py ${ELASTIC_URL} ${ELASTIC_INDEX} final.jsonl" ]
36+
resources:
37+
requests:
38+
memory: 1900Mi
39+
cpu: 8m
40+
limits:
41+
memory: 3800Mi
42+
cpu: 16m
3643
restartPolicy: Never
3744
imagePullSecrets:
3845
- name: preview-dockerconfigjson-github-com

0 commit comments

Comments
 (0)