Skip to content

Commit

Permalink
feature: adding storage class for gp3
Browse files Browse the repository at this point in the history
  • Loading branch information
caiocsgomes committed Aug 3, 2024
1 parent c3fe097 commit c724407
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/app-of-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ charts:
manifests:
- name: argocd
- name: secrets
- name: storage-classes
18 changes: 18 additions & 0 deletions kubernetes/storage-classes/storage-class.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c724407

Please sign in to comment.