oraculum: Let's try to drop strategy from non-user facing deployments

This commit is contained in:
František Zatloukal 2021-01-23 23:55:51 +01:00
parent 43794ed6f3
commit d2c34f384c

View file

@ -108,16 +108,6 @@ spec:
selector:
app: 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:
metadata:
labels:
@ -127,6 +117,7 @@ spec:
containers:
- name: oraculum-worker
image: packager-dashboard:latest
command: ["celery", "-A", "oraculum.celery_app", "worker", "-c", "2", "--loglevel=INFO"]
resources: {}
env:
# Database
@ -188,16 +179,6 @@ spec:
selector:
app: 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:
metadata:
labels:
@ -207,6 +188,7 @@ spec:
containers:
- name: oraculum-beat
image: packager-dashboard:latest
command: ["celery", "-A", "oraculum.celery_app", "beat", "--loglevel=INFO"]
resources: {}
env:
# Database