google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
750 stars 163 forks source link

Make Celery worker the root process #1560

Closed hacktobeer closed 1 month ago

hacktobeer commented 1 month ago

Description of the change

This PR strips away layers of complexity and makes the Celery worker the root process in the container. This will benefit the reliability and stability of the system.

This PR also:

Applicable issues

-fixes #

Additional information

Checklist

hacktobeer commented 1 month ago

@jleaniz @wajihyassine Besides the normal code review I would like you to review this PR with a bigger scope in your mind as well if you have time.

E.g. Do we need to cleanup move code or documents? Can we tune the Celery settings? Can we introduce different task types (as we only hard code one task (task-runner) for all jobs :(.

hacktobeer commented 1 month ago

@wajihyassine Do we use any of the arguments from start.sh in the helm charts? As with this PR we are not using start.sh and are not passing in those args. https://github.com/google/turbinia/blob/master/docker/worker/start.sh