Datanommer: run alembic between rollouts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
38b254a579
commit
8a1a6a3733
1 changed files with 9 additions and 8 deletions
|
@ -10,14 +10,15 @@ spec:
|
|||
app: Datanommer
|
||||
deploymentconfig: datanommer
|
||||
strategy:
|
||||
type: Rolling
|
||||
activeDeadlineSeconds: 21600
|
||||
rollingParams:
|
||||
intervalSeconds: 1
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
timeoutSeconds: 600
|
||||
updatePeriodSeconds: 1
|
||||
type: Recreate
|
||||
recreateParams:
|
||||
mid:
|
||||
execNewPod:
|
||||
command: [/opt/app-root/bin/alembic, -c, /etc/fedora-messaging/alembic.ini, upgrade, head]
|
||||
containerName: datanommer
|
||||
volumes:
|
||||
- fedora-messaging-config-volume
|
||||
failurePolicy: Abort
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue