@@ -12,6 +12,7 @@ The LBC is supported by AWS. Some clusters may be using the legacy "in-tree" fun
12
12
* AWS Load Balancer Controller v2.0.0~ v2.1.3 requires Kubernetes 1.15+
13
13
* AWS Load Balancer Controller v2.2.0~ v2.3.1 requires Kubernetes 1.16-1.21
14
14
* AWS Load Balancer Controller v2.4.0+ requires Kubernetes 1.19+
15
+ * AWS Load Balancer Controller v2.5.0+ requires Kubernetes 1.22+
15
16
16
17
## Deployment considerations
17
18
@@ -81,15 +82,15 @@ Example condition for cluster name resource tag:
81
82
2. Download an IAM policy for the LBC using one of the following commands:<p>
82
83
If your cluster is in a US Gov Cloud region:
83
84
```
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
85
86
```
86
87
If your cluster is in a China region:
87
88
```
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
89
90
```
90
91
If your cluster is in any other region:
91
92
```
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
93
94
```
94
95
95
96
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:
115
116
### Option B: Attach IAM policies to nodes
116
117
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.
117
118
```
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
119
120
```
120
121
121
122
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
198
199
### Apply YAML
199
200
1. Download the spec for the LBC.
200
201
```
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
202
203
```
203
204
2. Edit the saved yaml file, go to the Deployment spec, and set the controller `--cluster-name` arg value to your EKS cluster name
204
205
```
@@ -222,15 +223,15 @@ We recommend using the Helm chart to install the controller. The chart supports
222
223
```
223
224
4. Apply the yaml file
224
225
```
225
- kubectl apply -f v2_4_7_full .yaml
226
+ kubectl apply -f v2_5_0_full .yaml
226
227
```
227
228
5. Optionally download the default ingressclass and ingressclass params
228
229
```
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
230
231
```
231
232
6. Apply the ingressclass and params
232
233
```
233
- kubectl apply -f v2_4_7_ingclass .yaml
234
+ kubectl apply -f v2_5_0_ingclass .yaml
234
235
```
235
236
236
237
## Create Update Strategy
0 commit comments