简体   繁体   English

如何在没有 aws-auth configmap 的情况下登录 EKS 集群?

[英]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.

相关问题 AWS-Amplify,如何在角度登录后重定向到另一个 URL? - AWS-Amplify, How do I redirect to another URL after sign-in in angular? AWS EKS NodeGroup“创建失败”:实例未能加入 kubernetes 集群 - AWS EKS NodeGroup "Create failed": Instances failed to join the kubernetes cluster 当我的程序在集群外运行时,如何使用 AWS 使用 .NET 向 EKS Kube.netes API 进行身份验证? - How can I use AWS to authenticate to the EKS Kubernetes API using .NET when my program is running outside the cluster? 在没有 NAT 网关的情况下使用 CLI 创建 EKS 私有集群? - Create EKS private cluster using CLI without NAT gateway? Firebase Auth 登录在将 flutter 项目发布到 Play 商店后不起作用 - Firebase Auth Sign-in does not work after releasing flutter project to Play Store 如何解决 AWS EKS 中的 PodEvictionFailure 错误? - How do I resolve PodEvictionFailure error in AWS EKS? Terraform 启动模板为 AWS EKS Cluster Autoscaling Group 创建两个卷 - Terraform launch template creating two volumes for AWS EKS Cluster Autoscaling Group 在 AWS EKS 中自动扩展 POD - Autoscaling of PODs in AWS EKS 如何找到每个 AWS EKS pod 从 NAT 网关传输的数据? - How to find DataTransferred from NAT gateway by each AWS EKS pod? Argo CD ConfigMap 中的转义美元符号 - Escape dollar sign in Argo CD ConfigMap
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM