What is Fluid? Dataset orchestration and caching for AI on Kubernetes
Learn what Fluid is, how the Dataset and Runtime abstractions bring distributed caching (Alluxio, JuiceFS, and others) close to AI and big data pods, how data-affinity scheduling works, and how to create a Dataset, an AlluxioRuntime, and a DataLoad.
Kubernetes$ kubectl get dataset▍A training job with eight idle GPUs waiting for the dataset to arrive from object storage is one of the most expensive kinds of waste in a cluster. Kubernetes knows how to schedule CPU, memory, and GPUs, but it doesn’t know where the data is or whether it has been read before. Every training epoch fetches the same files over the network again. Fluid exists to make data a first-class citizen in scheduling.
What Fluid is
Fluid is a Kubernetes-native distributed dataset orchestrator and accelerator, built for data-intensive workloads: model training and inference, big data, and analytics. It is not a storage system: the data stays where it already lives (S3, HDFS, OSS, NFS, a PVC). What Fluid does is create a distributed cache layer close to the pods and expose the data as a regular Kubernetes volume.
The project was accepted into the CNCF in April 2021 as Sandbox and moved up to Incubating on January 8, 2026. That is its status as of November 2026; check the project page. The most recent release published on GitHub at that date was v1.0.8, from October 2025. Apache 2.0 license.
What problem it solves
- Latency and bandwidth to remote storage: reading terabytes of images or checkpoints from object storage every epoch caps GPU utilization.
- No notion of data in the scheduler: left alone, Kubernetes may place the pod on a node with nothing cached.
- Every team builds its own cache: without a common abstraction, each project installs and configures Alluxio or JuiceFS its own way.
- Manual data operations: warming up the cache, migrating data, or cleaning up volumes turns into one-off scripts.
How it works
Fluid works with two main abstractions, both in the data.fluid.io/v1alpha1 group:
- Dataset: a logically related set of data, with one or more sources (
mounts). It exposes cache observability: total size, how much is already cached, and the percentage. - Runtime: the cache engine that serves that Dataset. Each runtime type is its own CRD, with the same name as the Dataset it serves.
Once the Dataset and the Runtime are ready, Fluid creates a PV and a PVC named after the Dataset. The application just mounts that PVC; the data arrives through FUSE, served by the cache.
| Runtime (CRD) | Cache engine |
|---|---|
AlluxioRuntime |
Alluxio, with storage tiers in memory, SSD, or HDD |
JuiceFSRuntime |
JuiceFS |
JindoRuntime |
JindoCache/JindoFS, from Alibaba Cloud (accepts HDFS, among other sources) |
EFCRuntime |
EFC, another Alibaba Cloud cache engine |
VineyardRuntime |
Vineyard, with data in shared memory |
ThinRuntime |
Generic integration with other storage systems, through profiles (ThinRuntimeProfile) |
CacheRuntime |
Newer generic runtime, with classes (CacheRuntimeClass) to plug in new engines |
There are also CRDs for data operations: DataLoad (warm up the cache), DataMigrate, DataProcess, and DataBackup.
On the scheduling side, Fluid applies data affinity: pods that mount a Dataset tend to land on nodes where the cache workers already hold that data. The cache can also scale (more runtime replicas, more capacity) with demand. The control components live in the fluid-system namespace: dataset-controller, fluid-webhook, fluidapp-controller, the controllers for each runtime, and the CSI plugin on every node.
Hands-on example
The documented install uses Helm. Commands as documented officially (not run here, since they require downloading the chart):
kubectl create ns fluid-system
helm repo add fluid https://fluid-cloudnative.github.io/charts
helm repo update
helm install fluid fluid/fluid
kubectl get pod -n fluid-system
Now a Dataset with an HTTP source (the same mirror used in the docs), an AlluxioRuntime with an in-memory cache, and a DataLoad to warm up the cache before the job:
apiVersion: data.fluid.io/v1alpha1
kind: Dataset
metadata:
name: spark
namespace: your-app
spec:
mounts:
- mountPoint: https://mirrors.bit.edu.cn/apache/spark/
name: spark
---
apiVersion: data.fluid.io/v1alpha1
kind: AlluxioRuntime
metadata:
name: spark
namespace: your-app
spec:
replicas: 2
tieredstore:
levels:
- mediumtype: MEM
path: /dev/shm
quota: 2Gi
high: "0.95"
low: "0.7"
---
apiVersion: data.fluid.io/v1alpha1
kind: DataLoad
metadata:
name: spark-warmup
namespace: your-app
spec:
dataset:
name: spark
namespace: your-app
loadMetadata: true
high and low are the cache watermarks: above 95% usage, Alluxio starts evicting data until it gets back to 70%. On a node with a local SSD, swap MEM for SSD and point path at the disk.
The application consumes the PVC named after the Dataset, like any other volume:
apiVersion: v1
kind: Pod
metadata:
name: training
namespace: your-app
spec:
containers:
- name: app
image: registry.example.com/your-org/training:1.0
volumeMounts:
- mountPath: /data
name: data
volumes:
- name: data
persistentVolumeClaim:
claimName: spark
Track the cache through the Dataset columns (UFS TOTAL SIZE, CACHED, CACHE CAPACITY, CACHED PERCENTAGE, and PHASE, which becomes Bound once the runtime is ready):
kubectl get dataset spark -n your-app
kubectl get alluxioruntime spark -n your-app
kubectl get dataload spark-warmup -n your-app
kubectl get pvc spark -n your-app
When to use it (and when not to)
It makes sense when:
- Training or analytics jobs repeatedly read the same dataset from remote storage, and the GPUs sit waiting on I/O.
- Several teams share datasets and you want a standard way to declare caching, instead of each one running its own Alluxio.
- The cluster is hybrid or multi-cloud and the data is far from the compute.
Avoid it when:
- The dataset is small, fits on local disk, or is read only once. The cache will have nothing to speed up.
- The source storage is already on the same network, with enough latency and bandwidth headroom.
- You need persistent storage to write application data. Fluid speeds up reads of data that already exists; for persistence, see Rook and Kubernetes storage in practice.
Alternatives
| Option | How it compares |
|---|---|
| Alluxio or JuiceFS installed directly | More control, but no Dataset abstraction, no automatic data affinity, and separate operations per team |
| Copying data to local PVCs (initContainer or job) | Simple, but duplicates data, delays startup, and doesn’t share the cache across jobs |
| Object storage CSI driver (direct FUSE mount) | Exposes the bucket as a volume, but with no distributed cache or data-aware scheduling |
| The training framework’s own cache | Works within one job, but isn’t shared across pods or jobs |
If your AI workloads include serving large models, the guide to running LLMs on Kubernetes with vLLM shows the other side of the same math: an idle GPU is pure cost.
Summary
- Fluid has been a CNCF Incubating project since January 2026, focused on data for AI and big data
- It doesn’t store data: it creates a distributed cache between the source storage and the pods
- A Dataset describes the data; a Runtime with the same name (Alluxio, JuiceFS, Jindo…) serves the cache
- The application just mounts the PVC named after the Dataset
-
DataLoadwarms up the cache before the job, and data affinity brings pods closer to the cache - Watch
CACHED PERCENTAGEto know whether the cache is actually helping - Use it for repeated reads of remote data; for persistence, use real storage
A GPU waiting on disk is money standing still: Fluid lets the scheduler see where the data is.