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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南