-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Problems creating first LoadBalancer in brand-new AWS account #16218
Comments
Attempting to fix: - kubernetes#16218 by adding the permission needed for the AWS CCM to create a service-linked role for the elastic lb service. Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
Add the required IAM permission was enough to make the test green. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/close |
@ameukam: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind bug
@ameukam observed a problem creating services of type LoadBalancer in a brand new AWS account.
In https://storage.googleapis.com/kubernetes-jenkins/logs/ci-aws-kops-eks-pod-identity-sandbox/1742899966826778624/artifacts/cluster-info/kube-system/aws-cloud-controller-manager-sshfn/aws-cloud-controller-manager.log we found this error:
(Specifically: "no identity-based policy allows the iam:CreateServiceLinkedRole action status code")
@rifelpet pointed out that someone needs to call iam:CreateServiceLinkedRole before we can use ELB (and possibly other services). That could be in our CCM permissions, we could do it from the kOps CLI, we could require users to do it manually.
@rifelpet also pointed out that CCM and LBC both document the permission as needed:
https://github.com/kubernetes/cloud-provider-aws/blob/65e4f1ac4dbed33744b1e935892417d5c71ae43c/docs/prerequisites.md?plain=1#L77
https://github.com/search?q=repo%3Akubernetes-sigs%2Faws-load-balancer-controller%20CreateServiceLinkedRole&type=code
The text was updated successfully, but these errors were encountered: