[英]How to sign-in to EKS cluster without aws-auth configmap?
I have an EKS cluster where my aws-auth
configmap has the aws roles to access the cluster.我有一个 EKS 集群,其中我的
aws-auth
configmap 具有访问集群的 aws 角色。 However, the aws roles mapped to it are all deleted.但是,映射到它的aws角色都被删除了。 Now I cannot connect to the cluster.
现在我无法连接到集群。
I tried creating the same roles with the same name but because it was AWS SSO created role, I cannot re-use the name.我尝试使用相同的名称创建相同的角色,但因为它是 AWS SSO 创建的角色,所以我无法重复使用该名称。 AWS doesn't allow it.
AWS 不允许。
Can someone please help me out of this please?有人可以帮我解决这个问题吗?
You can find previous SSO role name from cloudtrail event logs.您可以从 cloudtrail 事件日志中找到以前的 SSO 角色名称。 Once you find the exact name create the iam role with same name.
找到确切名称后,创建具有相同名称的 iam 角色。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.