Skip to content

Commit

Permalink
avoid setting celery beat PID file (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
copelco authored Apr 16, 2024
1 parent 286749a commit f5cd415
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deploy/group_vars/k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ k8s_worker_command:
- worker
- --loglevel=info
k8s_worker_beat_enabled: true
k8s_worker_beat_command:
- celery
- --app={{ k8s_worker_celery_app }}
- --workdir=/code
- beat
- --loglevel=info
# Avoid setting PID file that might get stale in case of a hard crash (StatefulSet will ensure only 1 copy is ever running)
- --pidfile=
- --schedule=/data/schedulefile.db
k8s_memcached_enabled: false
k8s_redis_enabled: true

Expand Down

0 comments on commit f5cd415

Please sign in to comment.