templates/composer: Add resources requests/limits to db migration
This commit is contained in:
parent
b91400fd92
commit
973b209060
1 changed files with 7 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue