Storage
Where Kite keeps volume data, how the kite-local StorageClass works, what CSI drivers need, and when data is lost.
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.
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.
Next
- Manage nodes: join, update and remove a host.
- Troubleshoot: steps for a volume that does not mount.
- Networking: how pods and nodes reach each other.
- Compatibility and limitations: known differences from upstream Kubernetes.