-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Error while adding cluster(s): User Exec command "aws" not found on host. Please ensure binary is found in PATH or use absolute path to binary in Kubeconfig #2290
Comments
There's no way to INJECT values that I can tell with Lens, so there can be these issues:
|
Does it work if you use the absolute path to aws in your kubeconfig? |
1- It's not the case, because we're not using |
I tried use absolute PATH in kubeconfig too. Not working at all. |
I see this same problem on linux. I have installed aws via brew.
The only way (so far) I could get this to work was to create links in /usr/local/bin. |
On Windows, assuming you have a default AWS profile configured, use the absolute path of the aws.exe in your .kube config like:
|
I tried in config file, don't work. |
@jim-docker Can you please help me how to resolve this issue? @leandroholanda Was your issue resolved? If yes how? Can you please assist me? Thanks, |
@sanjaykulkarni04 have you tried the absolute path workaround suggested above? Meanwhile we'll try to investigate further for 5.0.0 |
@jim-docker Yes, already tried. But no luck Thanks, |
@jim-docker and @team after installing latest updates my issue has been resolved. Thank you so much. Regards, |
Describe the bug
![image](https://user-images.githubusercontent.com/12778603/110185537-629d5300-7df1-11eb-9821-c6383bdf8346.png)
I'm trying to add a CLUSTER to my LENS, but I'm having this error, even though I have AWS in PATH, as shown in the images below:
When I try add cluster, I get this error:
![image](https://user-images.githubusercontent.com/12778603/110185659-b0b25680-7df1-11eb-8516-477dcfbd2da5.png)
"Error while adding cluster(s): User Exec command "aws" not found on host. Please ensure binary is found in PATH or use absolute path to binary in Kubeconfig"
But I checked my PATH and my KUBECTL and is there:
To Reproduce
Expected behavior
Cluster added
Screenshots
![image](https://user-images.githubusercontent.com/12778603/110186243-6205bc00-7df3-11eb-80be-6ff75aebcdd5.png)
AWS is working fine.
Kubectl too.
Environment (please complete the following information):
Logs:
I cann't found that logs.
Kubeconfig:
![image](https://user-images.githubusercontent.com/12778603/110185746-f2db9800-7df1-11eb-977c-8c20394c2662.png)
Additional context
I will tell you, step by step what I DO:
I tried to use kubectl in terminal do bring to me some information, and is working fine. The problem is in LENS program.
Please someone can help me.
Thanks.
The text was updated successfully, but these errors were encountered: