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 ?
fsx.csi.aws.com
as a storage class that has 1.2 TB of shared space. Also in some environments like Test, which are lower, we have used the standard gp2, since the k8s is much smaller and other reasons. So to answer the question, if one class works for you use it, only change/add if you need to.