-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Access issues for ALB utilizing AWS EKS #359
Comments
I think this is a dupe of #305 still no resolution but there are other notes to try. |
The one thing I noticed is in your subjects:
- kind: ServiceAccount
name: alb-ingress-controller
namespace: kube-system the name should be |
similar issue here and after fixed the Please make sure to add another IAM inline role for the
If your ingress resource has albrbac.yaml
alb-ingress-controller.yaml
ingress-resource.yaml
|
So updated the albrbac.yaml as requested:
Redeployed the alb-ingress-controller ❯ kubectl.aws describe pod alb-ingress-controller-94f8686f9-vvjk2 -n kube-system [08:59:43] Normal Scheduled 5m default-scheduler Successfully assigned alb-ingress-controller-94f8686f9-vvjk2 to ip-x And am still seeing the permissions issue. [root@ip-10-46-206-135 ~]# docker logs aebdef |
@Beastie71 I hope that's a retired or non valid AWS Credentials you posted! I followed thru from @pahud posts for this as I have RBAC and it works for me. |
Expired long ago, only good for an hour. |
Check the examples for the RBAC and how to assign the service account to the deployment. I've tested this against EKS and it works |
Hi,
I was told to open this issue here. I am trying to setup the alb-ingress-controller in our AWS EKS preview. I've setup a serviceaccount, given it access, verified it can access the api endpoint, but am still getting the following error in the logs for the alb-ingress-controller:
It seems the cluster it is running with Authorization enabled (like RBAC) and there is no permissions for the ingress controller. Please check the configuration
I am attaching the serviceaccount setup and permissions yaml. The yaml for the test I ran that verfied the permissions work. The output of describes for the test pod and the alb-ingress-controller pod. The output of the curl from the test container, and the full output of the error I am seeing in the alb-ingress-controller. Please let me know if there is additional information I can provide.
test.yaml.txt
alb-ingress-controller.yaml.txt
albrbac.yaml.txt
curl.txt
error.txt
test-describe.txt
alb-ingress-controller-describe.txt
The text was updated successfully, but these errors were encountered: