Switch deployment to recreate to fix bodhi db migrations.
This commit is contained in:
parent
934fe31260
commit
aa11d465e6
1 changed files with 0 additions and 18 deletions
|
@ -16,7 +16,6 @@ items:
|
||||||
selector:
|
selector:
|
||||||
deploymentconfig: bodhi-web
|
deploymentconfig: bodhi-web
|
||||||
strategy:
|
strategy:
|
||||||
{% if env == "staging" %}
|
|
||||||
activeDeadlineSeconds: 21600
|
activeDeadlineSeconds: 21600
|
||||||
recreateParams:
|
recreateParams:
|
||||||
mid:
|
mid:
|
||||||
|
@ -35,19 +34,6 @@ items:
|
||||||
timeoutSeconds: 600
|
timeoutSeconds: 600
|
||||||
resources: {}
|
resources: {}
|
||||||
type: Recreate
|
type: Recreate
|
||||||
{% else %}
|
|
||||||
activeDeadlineSeconds: 21600
|
|
||||||
recreateParams:
|
|
||||||
timeoutSeconds: 600
|
|
||||||
resources: {}
|
|
||||||
rollingParams:
|
|
||||||
intervalSeconds: 1
|
|
||||||
maxSurge: 25%
|
|
||||||
maxUnavailable: 25%
|
|
||||||
timeoutSeconds: 600
|
|
||||||
updatePeriodSeconds: 1
|
|
||||||
type: Rolling
|
|
||||||
{% endif %}
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
|
@ -62,11 +48,7 @@ items:
|
||||||
- name: bodhi-web
|
- name: bodhi-web
|
||||||
image: bodhi-base:latest
|
image: bodhi-base:latest
|
||||||
command: ["gunicorn"]
|
command: ["gunicorn"]
|
||||||
{% if env == "staging" %}
|
|
||||||
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180", "--preload", "--log-file=-"]
|
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180", "--preload", "--log-file=-"]
|
||||||
{% else %}
|
|
||||||
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180", "--preload", "--log-file=-"]
|
|
||||||
{% endif %}
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue