Skip to main content

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.

PlatformRecommended StorageClassDocumentation
AWS EKSgp2 or gp3EKS Storage Classes
Azure AKSmanaged-csi or managed-csi-premiumAKS Storage Classes
GKEstandard-rwo or premium-rwoGKE 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.

Set the storage class in values.yaml:

cluster:
tfi:
storageClass: gp3

The operator passes this value to all platform services that require persistent storage.