oraculum: Let's try to drop strategy from non-user facing deployments
This commit is contained in:
parent
43794ed6f3
commit
d2c34f384c
1 changed files with 2 additions and 20 deletions
|
@ -108,16 +108,6 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: oraculum
|
app: oraculum
|
||||||
deploymentconfig: oraculum
|
deploymentconfig: oraculum
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
recreateParams:
|
|
||||||
mid:
|
|
||||||
failurePolicy: Abort
|
|
||||||
execNewPod:
|
|
||||||
containerName: oraculum-worker
|
|
||||||
command: ["celery", "-A", "oraculum.celery_app", "worker", "-c", "2", "--loglevel=INFO"]
|
|
||||||
volumes:
|
|
||||||
- oraculum-secret-volume
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -127,6 +117,7 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: oraculum-worker
|
- name: oraculum-worker
|
||||||
image: packager-dashboard:latest
|
image: packager-dashboard:latest
|
||||||
|
command: ["celery", "-A", "oraculum.celery_app", "worker", "-c", "2", "--loglevel=INFO"]
|
||||||
resources: {}
|
resources: {}
|
||||||
env:
|
env:
|
||||||
# Database
|
# Database
|
||||||
|
@ -188,16 +179,6 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: oraculum
|
app: oraculum
|
||||||
deploymentconfig: oraculum
|
deploymentconfig: oraculum
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
recreateParams:
|
|
||||||
mid:
|
|
||||||
failurePolicy: Abort
|
|
||||||
execNewPod:
|
|
||||||
containerName: oraculum-beat
|
|
||||||
command: ["celery", "-A", "oraculum.celery_app", "beat", "--loglevel=INFO"]
|
|
||||||
volumes:
|
|
||||||
- oraculum-secret-volume
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -207,6 +188,7 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: oraculum-beat
|
- name: oraculum-beat
|
||||||
image: packager-dashboard:latest
|
image: packager-dashboard:latest
|
||||||
|
command: ["celery", "-A", "oraculum.celery_app", "beat", "--loglevel=INFO"]
|
||||||
resources: {}
|
resources: {}
|
||||||
env:
|
env:
|
||||||
# Database
|
# Database
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue