Skip to content

Commit

Permalink
documentation: update versions to match AWS docs
Browse files Browse the repository at this point in the history
The versions in the installation instructions were outdated compared to
the currently available instructions by AWS.
See: https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html

Signed-off-by: Ismayil Mirzali <[email protected]>
  • Loading branch information
Volatus committed Jul 4, 2022
1 parent 45f9e9d commit 0a26eb6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/deploy/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The IAM permissions can either be setup via IAM roles for ServiceAccount or can
1. Download IAM policy for the AWS Load Balancer Controller
```
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.1/docs/install/iam_policy.json
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.2/docs/install/iam_policy.json
```
1. Create an IAM policy called AWSLoadBalancerControllerIAMPolicy
Expand All @@ -103,7 +103,7 @@ The IAM permissions can either be setup via IAM roles for ServiceAccount or can
#### Setup IAM manually
If not setting up IAM for ServiceAccount, apply the IAM policies from the following URL at minimum.
```
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.1/docs/install/iam_policy.json
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.2/docs/install/iam_policy.json
```
##### IAM permission subset for those who use *TargetGroupBinding* only and don't plan to use the AWS Load Balancer Controller to manage security group rules:
Expand Down Expand Up @@ -172,13 +172,13 @@ curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-lo
### Install cert-manager
```
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.5.3/cert-manager.yaml
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.5.4/cert-manager.yaml
```
### Apply YAML
1. Download spec for load balancer controller.
```
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.4.1/v2_4_1_full.yaml
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.4.2/v2_4_1_full.yaml
```
1. Edit the saved yaml file, go to the Deployment spec, and set the controller --cluster-name arg value to your EKS cluster name
```
Expand All @@ -204,5 +204,3 @@ curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-lo
```
kubectl apply -f v2_4_1_full.yaml
```

0 comments on commit 0a26eb6

Please sign in to comment.