Skip to content

Instantly share code, notes, and snippets.

View xenoscopic's full-sized avatar

Jacob Howard xenoscopic

View GitHub Profile
@AndrzejKomarnicki
AndrzejKomarnicki / aws-ebs-csi-storageclass.yml
Last active May 16, 2024 16:26
AWS EBS CSI StorageClass for K8s with encryption, dynamic provisioning, and volume resizing support
# Recommended to be running at least K8s 1.15 or higher
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: ebs-csi-encrypted
provisioner: ebs.csi.aws.com
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
reclaimPolicy: Delete # set to Retain if you don't wante the volume to be deleted after the PVC is deleted