Skip to Content
Initial ConfigurationStorage Configuration

Storage Configuration

Configuring Fuzzball to use storage is a two stage process. First, you need to install a Container Storage Interface (CSI) driver that allows Fuzzball to understand what type of storage it is expected to access. Second you need to add storage classes that allow Fuzzball to understand how it should allocate storage volumes on behalf of users.

The procedure for both of these stages is to create (or obtain) an appropriate YAML file and then apply the file using the Fuzzball CLI. The specific steps vary depending on your deployment type.

Note

This is a basic setup suitable for getting up and running quickly and for testing purposes. For more detailed information, see the storage configuration section of the guide.

selectOn-PremCoreWeave

Select your deployment type to see storage configuration instructions.

NFS Storage Configuration

For on-prem deployments, we will create 2 new NFS shares from the Fuzzball server node and use those to back ephemeral and persistent storage classes.

Prerequisite: Create 2 New NFS Shares

First, create two new directories that will be served as NFS shares. On the server node, (or the node serving your NFS shares) execute the following commands:

# PRIVATE_SUBNET="" # populate this with the proper value for your environment (e.g. 10.0.0.0/20)
# mkdir -pv /srv/fuzzball/{ephemeral,persistent} # for i in {ephemeral,persistent}; \ do echo "/srv/fuzzball/${i} ${PRIVATE_SUBNET}(rw,sync,no_subtree_check,no_root_squash)"; done \ >>/etc/exports # exportfs -a # exportfs
Tip

It is not necessary to mount the newly created NFS shares on any compute nodes. Fuzzball will automatically handle this through the NFS CSI driver that we will create in the next step.

Install the NFS CSI Driver

Now you can tell Fuzzball that you will use NFS to back cluster storage by installing an appropriate driver. Execute the following to create an appropriate YAML file.

Please note that the single quotes around 'EOF' are necessary. The YAML file is intended to include the literal strings ${CSI_NODE_ID} and ${CSI_ENDPOINT} rather than the current (likely non-existent) values of these variables. In a Heredoc as in the example below this can be achieved by surrounding the EOF marker with single quotes to prevent variable expansion.

# cat >nfs_driver_definition.yaml<< 'EOF' version: v1 name: nfs.csi.k8s.io description: NFS CSI Driver image: uri: docker://registry.k8s.io/sig-storage/nfsplugin:v4.2.0 args: - --nodeid=${CSI_NODE_ID} - --endpoint=${CSI_ENDPOINT} - -v=10 EOF

You can install the NFS CSI driver like so:

# fuzzball admin storage driver install nfs_driver_definition.yaml Driver "9c35fed2-26a1-3313-97f6-f25dc2366dd9" installed # fuzzball admin storage driver list ID | NAME | DESCRIPTION | CREATED TIME | LAST UPDATED | CLUSTER 432b9f9e-efed-34b5-bd83-4db6549955c9 | nfs.csi.k8s.io | NFS CSI Driver | 2026-01-05 11:40:45PM | 2026-01-05 11:40:45PM | unset-cluster
Note

Storage drivers are applied at the cluster level. Once you install a storage driver, you may use it to create storage classes within any organization on the cluster.

Create Storage Classes

Now you can create the YAML files for your ephemeral and persistent storage classes and apply them.

Warning

Many of the CIQ created templates in the Workflow Catalog assume there will be a storage class called ephemeral and a storage class called persistent. So it is a good idea to keep those names unless you have good reason to change them.

You can start with ephemeral storage. Execute the following to create an appropriate configuration file.

# NFS_SERVER_IP="" # fill in the value of your NFS server IP address (e.g. 10.0.0.4)
# cat >ephemeral_data_class.yaml<< EOF version: v1 name: ephemeral description: Ephemeral Scratch Volumes driver: nfs.csi.k8s.io properties: persistent: false retainOnDelete: false parameters: server: ${NFS_SERVER_IP} share: /srv/fuzzball/ephemeral capacity: size: 100 unit: GiB access: type: filesystem mode: multi_node_multi_writer mount: options: - nfsvers=4 user: user group: user permissions: 770 scope: user volumes: nameArgs: - WORKFLOW_ID nameFormat: "{{workflow_id}}" EOF

Now you can apply this configuration and create an ephemeral storage class backed by NFS with the following. The -w flag causes the command to wait for the operation to succeed before exiting.

# fuzzball admin storage class create -w ephemeral_data_class.yaml # fuzzball admin storage class list ID | NAME | STATUS | CREATED TIME | LAST UPDATED | PERSISTENT | RESTRICTED | CLUSTER 94e14bb0-2235-3373-a404-b1c78e0a411e | ephemeral | Ready | 2026-01-05 11:42:24PM | 2026-01-05 11:42:24PM | No | No | unset-cluster

The second command above shows you that your new ephemeral storage class has been created and is ready for use.

Now you can create a persistent storage class. Start by creating the appropriate configuration in a YAML file.

# cat >persistent_data_class.yaml<< EOF version: v1 name: persistent description: Persistent data driver: nfs.csi.k8s.io properties: persistent: true retainOnDelete: true parameters: server: ${NFS_SERVER_IP} share: /srv/fuzzball/persistent capacity: size: 100 unit: GiB access: type: filesystem mode: multi_node_multi_writer mount: options: - nfsvers=4 user: user group: user permissions: 770 scope: user volumes: nameArgs: - USERNAME nameFormat: "{{username}}" maxByAccount: 1 EOF

Apply this configuration using the same command as above.

# fuzzball admin storage class create -w persistent_data_class.yaml # fuzzball admin storage class list ID | NAME | STATUS | CREATED TIME | LAST UPDATED | PERSISTENT | RESTRICTED | CLUSTER 94e14bb0-2235-3373-a404-b1c78e0a411e | ephemeral | Ready | 2026-01-05 11:42:24PM | 2026-01-05 11:42:24PM | No | No | unset-cluster 726b008d-b298-33a9-be0c-efe89ddf95a3 | persistent | Ready | 2026-01-05 11:43:49PM | 2026-01-05 11:46:34PM | Yes | No | unset-cluster
Preview Status

Support for CoreWeave within Fuzzball is in preview status and is currently subject to more rapid change to address customer requirements than other features of Fuzzball. If you are interested in using Fuzzball on CoreWeave, we recommend contacting CIQ as part of your deployment planning process.

CoreWeave Shared-Vast Storage

For Fuzzball on CoreWeave, Kubernetes Persistent Volume Claims (PVC) are created using CoreWeave's shared-vast storage class. To expose this storage to workflows, Fuzzball uses a HostPath CSI driver that mounts the PVC on substrate nodes and makes them available as workflow storage volumes.

Fuzzball uses two types of PVCs on CoreWeave:

  1. Workflow Data PVC (fuzzball-shared-storage) - Mounted at /mnt/shared-storage on substrate nodes and exposed to workflows via the HostPath CSI driver. Workflows access this storage through the fuzzball-shared-vast storage class created below.
  2. Image Cache PVC (fuzzball-sharedfs) - Mounted at /mnt/fuzzball-sharedfs on substrate nodes for internal container image caching. This is not exposed to workflows.

The following steps install the HostPath CSI driver and create the storage class for workflow data access.

Install the shared-vast Storage Driver

Create a storage driver configuration file for CoreWeave's shared-vast storage:

# coreweave-vast-shared-driver.yaml version: v1 name: csi.hostpath.shared-vast description: HostPath CSI Driver backed by CoreWeave shared-vast PVC image: uri: docker://ghcr.io/ctrliq/hostpathplugin:v1.1.24 cmd: /hostpathplugin args: - --drivername=csi.hostpath.shared-vast - --endpoint=${CSI_ENDPOINT} - --nodeid=${CSI_NODE_ID} - --v=5 mounts: - source: /mnt/shared-storage/volumes destination: /csi-data-dir options: - rbind - rslave

Install the driver:

$ fuzzball admin storage driver install coreweave-vast-shared-driver.yaml

Create the shared-vast Storage Class

Create a storage class configuration:

# coreweave-shared-vast-class.yaml version: v1 name: fuzzball-shared-vast description: Fuzzball storage backed by CoreWeave shared-vast driver: csi.hostpath.shared-vast mount: user: root group: account permissions: 770 capacity: size: 100 unit: GiB access: type: filesystem mode: multi_node_multi_writer scope: all volumes: nameFormat: "{{custom_name}}" nameArgs: - CUSTOM_NAME maxByAccount: 0 properties: persistent: true retainOnDelete: true parameters: storageType: "Directory"

Create the storage class:

$ fuzzball admin storage class create coreweave-shared-vast-class.yaml

Verify the storage class is ready:

$ fuzzball admin storage class list
Warning

CoreWeave's shared-vast storage requires Native Protocol Limit view policy. Ensure this is configured before deployment.

Note

For additional CoreWeave storage options and LOTA object storage configuration, see the CoreWeave Configuration Guide.

Next Steps

At this point, you have successfully configured storage for your Fuzzball cluster. You can move on to configuring some initial entities.