Skip to content

Commit 2d17139

Browse files
authored
update installation instructions (#1896)
1 parent 72950b1 commit 2d17139

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/deploy/installation.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,19 @@ curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-lo
6565
```
6666
helm repo add eks https://aws.github.io/eks-charts
6767
```
68-
1. Install the TargetGroupBinding CRDs
68+
1. Install the TargetGroupBinding CRDs if upgrading the chart via `helm upgrade`.
6969
```
7070
kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master"
7171
```
72-
1. Install the helm chart
72+
73+
!!!tip
74+
The `helm install` command automatically applies the CRDs, but `helm upgrade` doesn't.
75+
76+
1. Install the helm chart if using IAM roles for service accounts. **NOTE** you need to specify both of the chart values `serviceAccount.create=false` and `serviceAccount.name=aws-load-balancer-controller`
77+
```
78+
helm install aws-load-balancer-controller eks/aws-load-balancer-controller -n kube-system --set clusterName=<cluster-name> --set serviceAccount.create=false --set serviceAccount.name=aws-load-balancer-controller
79+
```
80+
1. Install the helm chart if not using IAM roles for service accounts
7381
```
7482
helm install aws-load-balancer-controller eks/aws-load-balancer-controller -n kube-system --set clusterName=<cluster-name>
7583
```

0 commit comments

Comments
 (0)