Container Storage Interface
UpCloud’s built-in Container Storage Interface (CSI) comes as standard for all Kubernetes® clusters and automates storage volumes for users.
The UpCloud CSI plugin allows users to create stateful workloads by managing storage volumes and is a built-in feature of all Managed Kubernetes clusters. CSI plugin supports all storage features, including snapshots, cloning and encryption at rest.
The Container Storage Interface (CSI) is used to expose block and file storage systems to containerized workloads on Kubernetes. CSI ensures storage system compatibility with the core Kubernetes code.
The plugin is open source and available in GitHub.
The CSI driver has two parts: a controller that creates, attaches, resizes and snapshots volumes, and a node service that mounts them on your worker nodes. On new clusters, the controller runs in the control plane, so it doesn't take up resources on your worker nodes. The node service runs on every worker node as the csi-upcloud-node DaemonSet in the kube-system namespace.
Getting started
See Kubernetes storage related guides.
Supported storage tiers
All UpCloud block storage tiers are supported by the driver through the following storageClassName values:
- MaxIOPS:
upcloud-block-storage-maxiops - MaxIOPS, encrypted at rest:
upcloud-block-storage-maxiops-encrypted - Standard:
upcloud-block-storage-standard - Archive:
upcloud-block-storage-hdd
You can define your selected storage tier upon creating the Persistent Volume.
A Persistent Volume Claim that doesn't name a storage class uses upcloud-block-storage-maxiops. On clusters created with storage encryption, it uses upcloud-block-storage-maxiops-encrypted instead. To encrypt Standard or Archive volumes, create your own storage class, as shown in How to use encrypted Persistent Volumes in Managed Kubernetes.
Share your feedback
Please reach out to us through GitHub issues. We would love to hear your feedback!
Kubernetes is a registered trademark of The Linux Foundation.