2

I am using aws-ebs-csi-driver on k8s for persistent volumes. I came across a scenario where I can create ebs storage class once and then use it across all the statefulsets deployments to create PersistentVolumeClaims.

I am trying to weigh in advantages and disadvantages of this approach.

Is using one storage class for all statefulsets fine or Should I create storage class for each individual statefulset ?

codeforester
  • 391
  • 1
  • 5
  • 29
SRJ
  • 133
  • 8

1 Answers1

0

You should think about the needs of your applications.

Every storageClass have differents purposes, like the type of storage, the max size, ACLs, CSI, replications...

If you know that your storage can be "cold", you don't need to take a premium storage.

Every providers has it's own level of classes, check the doc of AWS to find the best option for your needs :)

benCat
  • 71
  • 1
  • 6