diff --git a/kubernetes/app-of-apps/values.yaml b/kubernetes/app-of-apps/values.yaml index b4fc119..18e2857 100644 --- a/kubernetes/app-of-apps/values.yaml +++ b/kubernetes/app-of-apps/values.yaml @@ -16,3 +16,4 @@ charts: manifests: - name: argocd - name: secrets +- name: storage-classes diff --git a/kubernetes/storage-classes/storage-class.yaml b/kubernetes/storage-classes/storage-class.yaml new file mode 100644 index 0000000..5b27af2 --- /dev/null +++ b/kubernetes/storage-classes/storage-class.yaml @@ -0,0 +1,18 @@ +# https://kubernetes.io/docs/concepts/storage/storage-classes/#aws-ebs +# https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/aeb6a026f0f509b2fd47b0b7aea0b9649930eafe/docs/parameters.md?plain=1#L40 +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: ebs-sc +provisioner: ebs.csi.aws.com +volumeBindingMode: WaitForFirstConsumer +parameters: + csi.storage.k8s.io/fstype: ext4 + type: gp3 + iopsPerGB: "3000" + encrypted: "true" +allowedTopologies: +- matchLabelExpressions: + - key: topology.ebs.csi.aws.com/zone + values: + - us-east-1