Storage classes
Last updated on
The Harness Platform requires dynamic volume provisioning via a Kubernetes StorageClass. The correct storage class depends on your cluster provider.
Storage classes by platform
Use the recommended storage class for your provider. Each provider names its classes differently, so confirm the exact name against the provider documentation in the last column.
| Platform | Recommended StorageClass | Documentation |
|---|---|---|
| AWS EKS | gp2 or gp3 | EKS Storage Classes |
| Azure AKS | managed-csi or managed-csi-premium | AKS Storage Classes |
| GKE | standard-rwo or premium-rwo | GKE Storage Classes |
Verify available storage classes
Run the following command to list the storage classes your cluster already provides.
kubectl get storageclass
Set the storage class
Set the storage class with whichever method you use to install.
- helm
- clustermgr
Set the storage class in values.yaml:
cluster:
tfi:
storageClass: gp3
Pass the storage class during installation:
--pi-set cluster.tfi.storageClass=gp3
Or use the -i shorthand:
-i storageClass=gp3
The operator passes this value to all platform services that require persistent storage.