Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws eks: The config profile (prod/administrators) could not be found #265

Open
dmitry-mightydevops opened this issue Sep 30, 2023 · 0 comments

Comments

@dmitry-mightydevops
Copy link

✗  kg svc                               
NAME         TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)   AGE
deathstar    ClusterIP   172.20.180.218   <none>        80/TCP    35d
kubernetes   ClusterIP   172.20.0.1       <none>        443/TCP   81d

sudo kubefwd -c ~/.kube/config svc default

INFO[17:28:08]  _          _           __             _     
INFO[17:28:08] | | ___   _| |__   ___ / _|_      ____| |    
INFO[17:28:08] | |/ / | | | '_ \ / _ \ |_\ \ /\ / / _  |    
INFO[17:28:08] |   <| |_| | |_) |  __/  _|\ V  V / (_| |    
INFO[17:28:08] |_|\_\\__,_|_.__/ \___|_|   \_/\_/ \__,_|    
INFO[17:28:08]                                              
INFO[17:28:08] Version 1.22.5                               
INFO[17:28:08] https://github.com/txn2/kubefwd              
INFO[17:28:08]                                              
INFO[17:28:08] Press [Ctrl-C] to stop forwarding.           
INFO[17:28:08] 'cat /etc/hosts' to see all host entries.    
INFO[17:28:08] Loaded hosts file /etc/hosts                 
INFO[17:28:08] HostFile management: Original hosts backup already exists at /root/hosts.original 
INFO[17:28:08] Using namespace default from current context arn:aws:eks:us-east-1:xxx:cluster/prod-eks. 

The config profile (prod/administrators) could not be found
FATA[17:28:08] Error connecting to k8s cluster: Get "https://XXXX.gr7.us-east-1.eks.amazonaws.com/version": getting credentials: exec: executable aws failed with exit code 255 

is it possible to work with aws eks ?

without copying the following dirs into root

  • ~/.aws/config
  • ~/.password-store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant