For the complete documentation index, see llms.txt. This page is also available as Markdown.

Storage classes

Configure storage classes for EKS, AKS, and GKE before you install with the SMP Operator.

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

Azure AKS

managed-csi or managed-csi-premium

GKE

standard-rwo or premium-rwo

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

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.

Last updated

Was this helpful?