File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,24 @@ Each cloud platform example includes optimized configurations:
117117
118118### AWS (EKS)
119119- ** Storage** : EBS GP3 volumes for optimal performance
120+ - ** EBS CSI Driver** : Required for persistent storage (install as EKS add-on)
120121- ** Node Selectors** : Instance type targeting (` t3.large ` , ` r5.large ` , ` g4dn.xlarge ` )
121122- ** GPU Support** : GPU-optimized instances (G4, P3 families)
122123- ** Ingress** : Application Load Balancer (ALB) with AWS Certificate Manager
123124- ** IAM** : Service Account annotations for IAM roles
124125
126+ ** Prerequisites for AWS:**
127+ ``` bash
128+ # Install EBS CSI driver add-on
129+ aws eks create-addon --cluster-name your-cluster --addon-name aws-ebs-csi-driver
130+
131+ # Create IAM role for EBS CSI driver (if using IRSA)
132+ aws iam create-role --role-name AmazonEKS_EBS_CSI_DriverRole \
133+ --assume-role-policy-document file://ebs-csi-trust-policy.json
134+ aws iam attach-role-policy --role-name AmazonEKS_EBS_CSI_DriverRole \
135+ --policy-arn arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy
136+ ```
137+
125138### GCP (GKE)
126139- ** Storage** : Persistent Disk with standard and premium options
127140- ** Node Selectors** : Node pool and machine family targeting
Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ spec:
3838 - name : migrations
3939 image : {{ include "sim.image" (dict "context" . "image" .Values.migrations.image) }}
4040 imagePullPolicy : {{ .Values.migrations.image.pullPolicy }}
41- command : ["bun", "run", "db:migrate"]
42- env :
43- - name : DATABASE_URL
44- value : {{ include "sim.databaseUrl" . | quote }}
41+ command : ["/bin/bash", "-c"]
42+ args :
43+ - |
44+ export DATABASE_URL="{{ include "sim.databaseUrl" . }}"
45+ bun run db:migrate
4546 {{- if .Values.postgresql.enabled }}
4647 envFrom :
4748 - secretRef :
You can’t perform that action at this time.
0 commit comments