fluid-cloudnative / fluid

Fluid, elastic data abstraction and acceleration for BigData/AI applications in cloud. (Project under CNCF)
https://fluid-cloudnative.github.io/
Apache License 2.0
1.69k stars 960 forks source link

[FEATURES] Dynamic provision disk memory #233

Open cheyang opened 4 years ago

cheyang commented 4 years ago

What feature you'd like to add:

Add init container to allluxio helm chart to prepare memory directory with mkdir -p /alluxio/ram && mount -t tmpfs -o size=230G tmpfs /alluxio/ram. You can check an example: https://github.com/fluid-cloudnative/fluid/blob/master/charts/alluxio/templates/worker/daemonset.yaml#L55

Why is this feature needed:

Currently we only support /dev/shm, but it's not flexible. We'd like to create tmpfs on demand.

xieydd commented 4 years ago

I will do it.