Skip to content

Commit

Permalink
docs: Update autoscaler installation in IRSA example (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryklein authored Nov 2, 2020
1 parent 3379e59 commit e8a060f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion examples/irsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ Replace `<ACCOUNT ID>` with your AWS account ID in `cluster-autoscaler-chart-val
Install the chart using the provided values file:

```
helm install --name cluster-autoscaler --namespace kube-system stable/cluster-autoscaler --values=cluster-autoscaler-chart-values.yaml
$ helm repo add autoscaler https://kubernetes.github.io/autoscaler
$ helm repo update
$ helm install cluster-autoscaler --namespace kube-system autoscaler/cluster-autoscaler-chart --values=cluster-autoscaler-chart-values.yaml
```

## Verify
Expand Down
5 changes: 3 additions & 2 deletions examples/irsa/cluster-autoscaler-chart-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ awsRegion: us-west-2

rbac:
create: true
serviceAccountAnnotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::<ACCOUNT ID>:role/cluster-autoscaler"
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::<ACCOUNT ID>:role/cluster-autoscaler"

autoDiscovery:
clusterName: test-eks-irsa
Expand Down

0 comments on commit e8a060f

Please sign in to comment.