apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: gp2
  annotations:
      storageclass.kubernetes.io/is-default-class: "true" # With this annotation you will not need to patch the storage class after it is created. 
provisioner: kubernetes.io/aws-ebs
parameters:
  type: gp2
reclaimPolicy: Retain
allowVolumeExpansion: true 
volumeBindingMode: Immediate