templates/composer: Add resources requests/limits to db migration

This commit is contained in:
Sanne Raymaekers 2022-05-27 11:22:47 +02:00 committed by Ondřej Budai
parent b91400fd92
commit 973b209060

View file

@ -164,6 +164,13 @@ objects:
- name: composer-migrate
image: "${IMAGE_NAME}:${IMAGE_TAG}"
command: [ "/opt/migrate/tern", "migrate", "-m", "/opt/migrate/schemas" ]
resources:
requests:
cpu: "${CPU_REQUEST}"
memory: "${MEMORY_REQUEST}"
limits:
cpu: "${CPU_LIMIT}"
memory: "${MEMORY_LIMIT}"
env:
- name: PGHOST
valueFrom: