Skip to content

Commit 0a32f81

Browse files
Add EKS Auto Mode installation instructions (#2857)
Added instructions for installing on AWS EKS Auto Mode, including creating a storage class and modifying the helm install command. [ ] Check if this is a typo or other quick fix and ignore the rest :) ## Type of change <!-- Please be sure to add the appropriate label to your PR. --> ### What should this PR do? <!-- Does this PR resolve an issue? Please include a reference to it. --> ### Why are we making this change? <!-- What larger problem does this PR address? --> ### What are the acceptance criteria? <!-- What should be happening for this PR to be accepted? Please list criteria. --> <!-- Do any stakeholders need to be tagged in this review? If so, please add them. --> ### How should this PR be tested? <!-- What should your reviewer do to test this PR? Please list steps. --> --------- Signed-off-by: Patrick Burke <[email protected]>
1 parent ea5fc50 commit 0a32f81

File tree

1 file changed

+27
-0
lines changed
  • content/chainguard/chainguard-images/how-to-use/use-chainguard-helm-charts

1 file changed

+27
-0
lines changed

content/chainguard/chainguard-images/how-to-use/use-chainguard-helm-charts/index.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,33 @@ Then you refer to the file like this:
238238
helm install test oci://cgr.dev/chainguard-private/iamguarded-charts/rabbitmq --values ./values.yaml
239239
```
240240

241+
### Installing on AWS Elastic Kubernetes Service (EKS) Auto Mode
242+
When installing on EKS Auto Mode, you may need to create a storage class for the Helm chart's pod(s). This can be done by creating a storage class:
243+
244+
```sh
245+
cat <<EOF | kubectl apply -f -
246+
apiVersion: storage.k8s.io/v1
247+
kind: StorageClass
248+
metadata:
249+
name: gp3-automode
250+
provisioner: ebs.csi.eks.amazonaws.com
251+
parameters:
252+
type: gp3
253+
encrypted: "true"
254+
volumeBindingMode: WaitForFirstConsumer
255+
allowVolumeExpansion: true
256+
EOF
257+
```
258+
259+
You then pass the storage class's name to the `helm install` command. Here, we use `rabbitmq` as an example:
260+
261+
```sh
262+
helm install rabbitmq oci://cgr.dev/$ORGANIZATION/iamguarded-charts/rabbitmq \
263+
--set "global.org=$ORGANIZATION" \
264+
--set "global.imagePullSecrets[0].name=chainguard-pull-secret" \
265+
--set "persistence.storageClass=gp3-automode"
266+
```
267+
241268
## Troubleshooting
242269

243270
To check the Helm configuration, you can run `helm install` with `--dry-run` flag. This will output the generated Kubernetes YAML. Double check the values for the image and `imagePullSecrets` to ensure they point to the correct registry and authentication is in place.

0 commit comments

Comments
 (0)