Interview Prep/Kubernetes/EKS in Production

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
All Kubernetes questions

More on EKS in Production