Problem for access eks from another IAM user

0

i am create eks using terraform and delete that user after that create new user and i want to access that eks i got error even though i have loged in error: You must be logged in to the server (Unauthorized)

1개 답변
0

I think the easiest way to gain access to cluster is to re-create the IAM user you used to create the cluster. That should give you access to edit config and grant access to other users as described in https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html

Or if that is not possible, aws eks update-kubeconfig could reset the configuration. See https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-kubeconfig.html

profile picture
전문가
Kallu
답변함 7달 전

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

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

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

관련 콘텐츠