Hi, I’m currently setting up Redash using Docker on kubernetes, AWS.
I already have Postgres and Redis outside of Redash but I noticed that Redash uses a directory /app
when (at least) launching the application. My question is:
- Should this
/app
directory be kept and reused across the lifecycle of a container itself? - Should this
/app
directory be shared betweenserver
,worker
andscheduler
if I split these components into different containers?
If the answer is No, I can just let each container create /app
within the container, but otherwise I need to figure out a way to make containers share and mount some volume for /app
directory. Because kubernetes doesn’t support -volume-from
like feature, the easiest way to achieve this is use AWS EFS I think.