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 Risposta
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
ESPERTO
Kallu
con risposta 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande