Skip to content

Commit

Permalink
add aws ebs csi driver
Browse files Browse the repository at this point in the history
  • Loading branch information
YuryHrytsuk committed Dec 30, 2024
1 parent 382f7cf commit aec1910
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Relies on ec2 instance profile attached to K8s EC2.
# It lets ebs csi driver to manage EBS volumes

image:
tag: "v1.38.1"

storageClasses:
- name: "ebs-sc"
parameters:
type: "gp3"
allowVolumeExpansion: true
reclaimPolicy: Retain # EBS Volume will not be deleted when PV is deleted

controller:
extraVolumeTags:
Deployment: {{ requiredEnv "MACHINE_FQDN" }}
volumeModificationFeature:
enabled: true
resources:
limits:
cpu: 1 # no cpu limits by default
6 changes: 3 additions & 3 deletions charts/portainer/values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ serviceAccount:
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: portainer-sa-clusteradmin

persistence:
enabled: true
size: "1Gi"
size: "1Gi" # minima size for gp3 is 1Gi
annotations: {}
storageClass: "csi-s3"
storageClass: "ebs-sc"
existingClaim:

podAnnotations: {}
Expand Down Expand Up @@ -61,7 +62,6 @@ ingress:
port:
number: 9000


resources:
limits:
cpu: 2
Expand Down

0 comments on commit aec1910

Please sign in to comment.