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 Resposta
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
ESPECIALISTA
Kallu
respondido há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas