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
|
app: Datanommer
|
||||||
deploymentconfig: datanommer
|
deploymentconfig: datanommer
|
||||||
strategy:
|
strategy:
|
||||||
type: Rolling
|
type: Recreate
|
||||||
activeDeadlineSeconds: 21600
|
recreateParams:
|
||||||
rollingParams:
|
mid:
|
||||||
intervalSeconds: 1
|
execNewPod:
|
||||||
maxSurge: 25%
|
command: [/opt/app-root/bin/alembic, -c, /etc/fedora-messaging/alembic.ini, upgrade, head]
|
||||||
maxUnavailable: 25%
|
containerName: datanommer
|
||||||
timeoutSeconds: 600
|
volumes:
|
||||||
updatePeriodSeconds: 1
|
- fedora-messaging-config-volume
|
||||||
|
failurePolicy: Abort
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue