Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deployment): Add basic resource requirements for config processor and other initContainers #2340

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions kubernetes/loculus/templates/_config-processor.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
mountPath: /output
command: ["python3"]
args: ["/app/config-processor.py", "/input", "/output"]
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
env:
- name: LOCULUSSUB_smtpPassword
valueFrom:
Expand Down
7 changes: 7 additions & 0 deletions kubernetes/loculus/templates/ena-submission-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ spec:
initContainers:
- name: ena-submission-flyway
image: "ghcr.io/loculus-project/ena-submission-flyway:{{ $dockerTag }}"
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
command: ['flyway', 'migrate']
env:
- name: FLYWAY_URL
Expand Down
7 changes: 7 additions & 0 deletions kubernetes/loculus/templates/keycloak-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ spec:
initContainers:
{{- include "loculus.configProcessor" (dict "name" "keycloak-config" "dockerTag" $dockerTag) | nindent 8 }}
- name: keycloak-theme-prep
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
image: "ghcr.io/loculus-project/keycloakify:{{ $dockerTag }}"
volumeMounts:
- name: theme-volume
Expand Down
Loading