EKS Blueprints access cluster as admin

0

I create a simple cluster with CDK and eks Blueprints. But management console tells me that: Your current IAM principal doesn’t have access to Kubernetes objects on this cluster.

How I can set in Blueprints builder a role to allow all AdminUsers access to the Cluster?

2개 답변
0

Hi Ognif,
For blueprint construct access, you'll need to create an IAM Role Resource Provider, which will create a new role based on the policy needed to access the EKS cluster. Otherwise, if you only need to grant access to specific users or roles to access clusters via the console, then this guide provides a quick way to grant access. As usual, it's best to follow the principle of least privilege, and you can view the AWS managed policies for EKS here.

Also, please check out this blog post. It's a great reference and guide for bootstrapping clusters with EKS Blueprints.

Best regards,
Randy

profile pictureAWS
답변함 3달 전
0

Hello,

The eks-blueprints framework provides support for onboarding and managing teams and easily configuring cluster access. Currently support two Team types: ApplicationTeam and PlatformTeam. ApplicationTeam represent teams managing workloads running in cluster namespaces and PlatformTeam represents platform administrators who have admin access (masters group) to clusters.

You can find sample code: https://aws-quickstart.github.io/cdk-eks-blueprints/teams/teams/

profile pictureAWS
지원 엔지니어
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인