Skip to content

Commit 9bfcb09

Browse files
authored
update doc for 2.5 (#3154)
1 parent 14f5a70 commit 9bfcb09

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

docs/deploy/installation.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The LBC is supported by AWS. Some clusters may be using the legacy "in-tree" fun
1212
* AWS Load Balancer Controller v2.0.0~v2.1.3 requires Kubernetes 1.15+
1313
* AWS Load Balancer Controller v2.2.0~v2.3.1 requires Kubernetes 1.16-1.21
1414
* AWS Load Balancer Controller v2.4.0+ requires Kubernetes 1.19+
15+
* AWS Load Balancer Controller v2.5.0+ requires Kubernetes 1.22+
1516

1617
## Deployment considerations
1718

@@ -81,15 +82,15 @@ Example condition for cluster name resource tag:
8182
2. Download an IAM policy for the LBC using one of the following commands:<p>
8283
If your cluster is in a US Gov Cloud region:
8384
```
84-
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.7/docs/install/iam_policy_us-gov.json
85+
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.5.0/docs/install/iam_policy_us-gov.json
8586
```
8687
If your cluster is in a China region:
8788
```
88-
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.7/docs/install/iam_policy_cn.json
89+
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.5.0/docs/install/iam_policy_cn.json
8990
```
9091
If your cluster is in any other region:
9192
```
92-
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.7/docs/install/iam_policy.json
93+
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.5.0/docs/install/iam_policy.json
9394
```
9495
9596
3. Create an IAM policy named `AWSLoadBalancerControllerIAMPolicy`. If you downloaded a different policy, replace `iam-policy` with the name of the policy that you downloaded.
@@ -115,7 +116,7 @@ Example condition for cluster name resource tag:
115116
### Option B: Attach IAM policies to nodes
116117
If you're not setting up IAM roles for service accounts, apply the IAM policies from the following URL at a minimum. Please be aware of the possibility that the controller permissions may be assumed by other users in a pod after retrieving the node role credentials, so the best practice would be using IRSA instead of attaching IAM policy directly.
117118
```
118-
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.7/docs/install/iam_policy.json
119+
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.5.0/docs/install/iam_policy.json
119120
```
120121
121122
The following IAM permissions subset is for those using `TargetGroupBinding` only and don't plan to use the LBC to manage security group rules:
@@ -198,7 +199,7 @@ We recommend using the Helm chart to install the controller. The chart supports
198199
### Apply YAML
199200
1. Download the spec for the LBC.
200201
```
201-
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.4.7/v2_4_7_full.yaml
202+
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.5.0/v2_5_0_full.yaml
202203
```
203204
2. Edit the saved yaml file, go to the Deployment spec, and set the controller `--cluster-name` arg value to your EKS cluster name
204205
```
@@ -222,15 +223,15 @@ We recommend using the Helm chart to install the controller. The chart supports
222223
```
223224
4. Apply the yaml file
224225
```
225-
kubectl apply -f v2_4_7_full.yaml
226+
kubectl apply -f v2_5_0_full.yaml
226227
```
227228
5. Optionally download the default ingressclass and ingressclass params
228229
```
229-
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.4.7/v2_4_7_ingclass.yaml
230+
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.5.0/v2_5_0_ingclass.yaml
230231
```
231232
6. Apply the ingressclass and params
232233
```
233-
kubectl apply -f v2_4_7_ingclass.yaml
234+
kubectl apply -f v2_5_0_ingclass.yaml
234235
```
235236
236237
## Create Update Strategy

docs/deploy/upgrade/migrate_v1_v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ foo@bar:~$ kubectl describe deployment -n kube-system alb-ingress-controller |
6565
Existing Ingress resources do not need to be deleted.
6666

6767
3. Install new AWSLoadBalancerController
68-
1. Install AWSLoadBalancerController(v2.4.1) by following the [installation instructions](../installation.md)
68+
1. Install AWSLoadBalancerController(v2.5.0) by following the [installation instructions](../installation.md)
6969
2. Grant [additional IAM policy](../../install/iam_policy_v1_to_v2_additional.json) needed for migration to the controller.
7070

7171
4. Verify all Ingresses works as expected.

0 commit comments

Comments
 (0)