Skip to content

Commit 2185bf8

Browse files
Added Important note about ALB Tag for Subnets
Added Important note about ALB Tag for Subnets
1 parent 57467f9 commit 2185bf8

File tree

1 file changed

+6
-0
lines changed
  • 08-ELB-Application-LoadBalancers/08-02-ALB-Ingress-Basics

1 file changed

+6
-0
lines changed

08-ELB-Application-LoadBalancers/08-02-ALB-Ingress-Basics/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ kubectl logs -f $(kubectl get po -n kube-system | egrep -o 'alb-ingress-controll
8989
07:28:39.900001 1 controller.go:217] kubebuilder/controller "msg"="Reconciler error" "error"="failed to build LoadBalancer configuration due to unable to fetch subnets. Error: WebIdentityErr: failed to retrieve credentials\ncaused by: AccessDenied: Not authorized to perform sts:AssumeRoleWithWebIdentity\n\tstatus code: 403, request id: 3d54741a-4b85-4025-ad11-73d4a3661d09" "controller"="alb-ingress-controller" "request"={"Namespace":"default","Name":"ingress-usermgmt-restapp-service"}
9090
```
9191

92+
- **VERY VERY IMPORTANT NOTE:** Additionally if you see any errors as below, please go to VPC -> EKS VPC -> Subnets -> For both Public Subnets, add the tag as `kubernetes.io/cluster/eksdemo1 = shared`
93+
```
94+
E0507 15:40:13.134304 1 controller.go:217] kubebuilder/controller "msg"="Reconciler error" "error"="failed to build LoadBalancer configuration due to failed to resolve 2 qualified subnet with at least 8 free IP Addresses for ALB. Subnets must contains these tags: 'kubernetes.io/cluster/eksdemo1': ['shared' or 'owned'] and 'kubernetes.io/role/elb': ['' or '1']. See https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/controller/config/#subnet-auto-discovery for more details. Resolved qualified subnets: '[]'" "controller"="alb-ingress-controller" "request"={"Namespace":"default","Name":"ingress-usermgmt-restapp-service"}
95+
96+
```
97+
9298
## Step-05: Verify the ALB in AWS Management Console & Access Application using ALB DNS URL
9399
- Verify Load Balancer
94100
- In Listeners Tab, click on **View/Edit Rules** under Rules

0 commit comments

Comments
 (0)