You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to deploy a complete cluster using EKS. When I run terraform apply the command completes successfully. I can see that my configured Pods, Deployments, Services were created. I also see the required software for aws-load-balancer-controller was created.
I have a full code for my deployment here to check: https://github.com/tal-rofe/terraform-issue
Expected outcome
Amazon ALB should be created
Environment
AWS Load Balancer controller version "1.4.7"
Kubernetes version "2.16.1"
Using EKS (yes/no), if so version? 1.24
Additional Context:
When I go to EC2 load balancers the list is empty. ALB was not created..
All created pods seem fine:
Deployments
Services
Service Account
So everything seems fine, except for the ALB not created.
I guess it has issues with permissions for creating load balancer? But I provided my load balancer permissions:
If I run this command: kubectl logs -n kube-system deployment.apps/aws-load-balancer-controller I get errors in the logs:
{"level":"error","ts":1674494743.514425,"logger":"controller.ingress","msg":"Reconciler error","name":"api-ingress","namespace":"default","error":"ingress: default/api-ingress: AccessDeniedException: User: arn:aws:sts::lll:assumed-role/first-eks-node-group-llllllll/i-llllll is not authorized to perform: acm:ListCertificates because no identity-based policy allows the acm:ListCertificates action"}
But I did provide this permissions in the policy json: ./terraform/k8s/resources/node-ingress-policy.json
The text was updated successfully, but these errors were encountered:
I try to deploy a complete cluster using EKS. When I run
terraform apply
the command completes successfully. I can see that my configured Pods, Deployments, Services were created. I also see the required software foraws-load-balancer-controller
was created.I have a full code for my deployment here to check:
https://github.com/tal-rofe/terraform-issue
Expected outcome
Amazon ALB should be created
Environment
Additional Context:
When I go to EC2 load balancers the list is empty. ALB was not created..
All created pods seem fine:
Deployments
Services
Service Account
So everything seems fine, except for the ALB not created.
I guess it has issues with permissions for creating load balancer? But I provided my load balancer permissions:
If I run this command:
kubectl logs -n kube-system deployment.apps/aws-load-balancer-controller
I get errors in the logs:But I did provide this permissions in the policy json:
./terraform/k8s/resources/node-ingress-policy.json
The text was updated successfully, but these errors were encountered: