Skip to main content
🎊 We've changed our name from Ddosify to Anteon! 🚀

Storage Class

If you want to use a specific storage class for the persistent volume claims, you can set the storage class name. To list all the storage classes in the cluster, run the following command:

kubectl get storageclass

There are three persistent volume claims in the Anteon chart: InfluxDB, Postgres, and SeaweedFS. In this example, we are using the nfs-client storage class.

You can set the storage class name for each PVC in two ways.

Set Storage Class in Helm Command

You can set the storage class name in the Helm command as follows:

helm repo add anteon https://getanteon.github.io/anteon-helm-charts/
helm repo update
kubectl create namespace anteon
helm upgrade --install --namespace anteon anteon-selfhosted anteon/anteon \
--set pvc.influxDB.storageClassName="nfs-client" \
--set pvc.postgres.storageClassName="nfs-client" \
--set pvc.seaweedfs.storageClassName="nfs-client" --wait

Write a Custom Values File

You can write a custom values file (values-storageclass.yaml) as follows:

pvc:
influxDB:
storageClassName: "nfs-client"
postgres:
storageClassName: "nfs-client"
seaweedfs:
storageClassName: "nfs-client"

Then, you can install the chart with the custom values file as follows:

helm repo add anteon https://getanteon.github.io/anteon-helm-charts/
helm repo update
kubectl create namespace anteon
helm upgrade --install --namespace anteon anteon-selfhosted anteon/anteon --values values-storageclass.yaml --wait

Notes

note

For AWS EKS, Amazon EKS CSI Driver addon must be enabled to use the EBS storage class. For more information, see Amazon EKS CSI Driver.