What is the recommended default StorageClass on EKS?
BeginnerProductionEKS in Production
Answer
gp3 through the EBS CSI driver (decoupled IOPS/throughput, cheaper than gp2) with volumeBindingMode: WaitForFirstConsumer and allowVolumeExpansion: true, encrypted with a KMS key. Use EFS for shared RWX and FSx for Lustre/ONTAP for HPC or special needs.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata: { name: gp3 }
provisioner: ebs.csi.aws.com
parameters: { type: gp3, encrypted: "true" }
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
More on EKS in Production
How do you create a production EKS cluster in a repeatable way?BeginnerWhich subnets and AZs should an EKS cluster use?BeginnerHow do you give an EKS Pod access to S3 safely?BeginnerWhich EKS control-plane logs do you enable and why?BeginnerWhat are the EKS service limits that most often bite?BeginnerHow should the cluster be exposed publicly?Beginner