# Storage

Kite stores volume data on your nodes or in a storage backend that you run,
never in the control plane. The default `kite-local` StorageClass keeps data on
one node. For volumes that a pod can use on any node, install a CSI driver.

## Default StorageClass

`kite-local` uses the `WaitForFirstConsumer` binding mode, so Kite creates the
volume only when a pod that uses the claim is scheduled. The volume is a
directory under `/var/lib/kite/volumes` on that pod's node. When you delete the
claim, Kite deletes the directory.

:::caution
`hostPath` and `kite-local` data stay on the node that wrote them. A pod that the
scheduler places on another node starts without that data. Back up the data before you
delete the claim or remove the node.
:::

## CSI drivers

The node agent calls a CSI driver's node plugin to stage, publish, unpublish
and expand a pod's volumes, as kubelet does. Drivers use the standard kubelet
paths under `/var/lib/kubelet`. To use a driver, install:

- its node plugin and registrar on each host, usually as a DaemonSet,
- its controller,
- its StorageClasses, and
- its cloud credentials.

A pod can use a volume on a node only if the volume's driver can attach the
volume to that node.

A deleted pod stays `Terminating` until the driver unmounts the pod's CSI
volumes. If the driver is not running on the node, the pod stays `Terminating`
until the driver starts.

A node does not mount an in-tree `nfs` volume. To use NFS, install a CSI
driver such as `csi-driver-nfs`. See
[In-tree NFS volumes](/docs/reference/compatibility/#in-tree-nfs-volumes).

## Next

- [Manage nodes](/docs/manage-nodes/): join, update and remove a host.
- [Troubleshoot](/docs/troubleshoot/#volume-access): steps for a volume that does not mount.
- [Networking](/docs/networking/): how pods and nodes reach each other.
- [Compatibility and limitations](/docs/reference/compatibility/): known differences from upstream Kubernetes.
