By using AWS re:Post, you agree to the AWS re:Post Terms of Use

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 Answers
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
answered 2 months ago
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
SUPPORT ENGINEER
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions