Architecture
The architecture has the following components:
etcd is sensitive to
fsync latency, and Distributed File Storage has no per-tenant latency guarantee. See Distributed File Storage performance considerations.
Prerequisites
- A CKS cluster with a CPU Node Pool for the Alluxio control plane and a GPU Node Pool whose instance type has multiple local NVMe disks.
kubectlwith the cluster’s kubeconfig, the CoreWeave Intelligent CLI (cwic) with an API access token, andjq.- Alluxio, deployed with access to your remote object store.
Configure cache disks that survive a reboot
By default, Node-local storage doesn’t survive a reboot. To keep the Alluxio cache across reboots, set thestorage_config Node Pool parameter under spec.nodeParameters to a layout with flush: "false". The validated layout uses one disk for /mnt/local, which also holds container layers and emptyDir volumes, and gives each remaining NVMe disk its own encrypted XFS filesystem (just a bunch of disks, or JBOD).
To apply the configuration, do the following:
-
Save the storage configuration as
storage-config.json. This excerpt shows/mnt/localand the first cache disk. Add one entry for each remaining cache disk, incrementing the mount point andfs_label(/lota_cache_02andlotacache-02, and so on). The validated layout on an eight-disk Node has seven cache disks.storage-config.json (excerpt) -
Validate the JSON, encode it in Base64, and stage it on the Node Pool. Replace
[NODEPOOL-NAME]with your Node Pool’s name:To confirm the staged value, decode it:The output matchesstorage-config.json. With the defaultOnSpecUpdateupdate strategy, the patch stages the configuration without changing running Nodes. WithManual, promote it withcwic nodepool upgrade [NODEPOOL-NAME]. -
List the Nodes that need reconfiguration:
-
Drain one test Node, then apply the configuration with a reconfigure reboot. Replace
[TEST-NODE]with the Node’s name:For details about these flags, see Apply Node Pool updates. -
After the reconfigure reboot completes and the Node is
Ready, confirm that each mount point is its own encrypted XFS filesystem. Run these commands on the Node, or from a privileged Pod scheduled on it:An eight-disk Node shows eight encrypted XFS filesystems. Thelsblkcommand lists disks in device order, not mount-point order, so check each mount point. -
Drain and reconfigure the remaining Nodes in small batches. The
cwic node rebootcommand accepts several space-separated Node names.
storage_config parameter to null:
Keep cache Pods from blocking Node maintenance
Long-running Alluxio cache Pods on GPU Nodes that a DaemonSet doesn’t manage count as active workloads. They keep the Node’sCWActive condition at True, which blocks Node Pool scale-down and fleet lifecycle automation, and they delay pending Node lifecycle transitions, such as maintenance reboots. For more information, see Active Nodes and stalled transitions.
To keep cache Pods from blocking maintenance, do the following:
- Don’t tolerate all taints. If cache Pods tolerate every taint, including the CKS eviction taints, they skip graceful eviction and can schedule back onto the Nodes that CoreWeave is trying to drain. Tolerate only the taints that the cache Pods need.
-
Label cache Pods as interruptible. Add the
qos.coreweave.cloud/interruptable: "true"label to the Pod templates of the Alluxio worker and FUSE Pods. CKS doesn’t count Pods with this label as active, and the label suits a cache that refills from the remote store. The key is spelledinterruptablefor historical reasons. For more information, see Interruptible workloads.
Proof-of-concept results
These results come from the CoreWeave PoC and aren’t a performance commitment. Results depend on object sizes, access patterns, the remote region, and the network path, so measure with your own workload. The PoC used twoturin-gp-l CPU Nodes, with six 7.68 TB NVMe disks on each Node as Alluxio cache, and read from Azure Blob Storage. It ran Alluxio Enterprise AI 3.8 with Alluxio operator 3.7.6 and LOTA turned off. CoreWeave tested the cache-disk storage configuration on this page separately from the PoC.
When the PoC removed one worker, clients kept reading without interruption and the cache hit ratio dropped from 100% to about 94%. After the worker rejoined, the hit ratio returned to 100%.