oraculum: Call celery directly, not from /usr/bin
This commit is contained in:
parent
a92ef77426
commit
f1199d653f
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ spec:
|
||||||
failurePolicy: Abort
|
failurePolicy: Abort
|
||||||
execNewPod:
|
execNewPod:
|
||||||
containerName: oraculum-worker
|
containerName: oraculum-worker
|
||||||
command: ["/usr/bin/celery", "-A", "oraculum.celery_app", "worker", "-c", "2", "--loglevel=INFO"]
|
command: ["celery", "-A", "oraculum.celery_app", "worker", "-c", "2", "--loglevel=INFO"]
|
||||||
volumes:
|
volumes:
|
||||||
- oraculum-secret-volume
|
- oraculum-secret-volume
|
||||||
template:
|
template:
|
||||||
|
@ -197,7 +197,7 @@ spec:
|
||||||
failurePolicy: Abort
|
failurePolicy: Abort
|
||||||
execNewPod:
|
execNewPod:
|
||||||
containerName: oraculum-beat
|
containerName: oraculum-beat
|
||||||
command: ["/usr/bin/celery", "-A", "oraculum.celery_app", "beat", "--loglevel=INFO"]
|
command: ["celery", "-A", "oraculum.celery_app", "beat", "--loglevel=INFO"]
|
||||||
volumes:
|
volumes:
|
||||||
- oraculum-secret-volume
|
- oraculum-secret-volume
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue