Error saying Can t find aws in PATH please fix and retry in Kubernetes

0 votes

I've created a kubernetes cluster on aws using kops. I run this command 

export KUBERNETES_PROVIDER=aws; wget -q -O - https://get.k8s.io | bash  

and end up with the following error:

Can't find aws in PATH, please fix and retry.
Jan 4, 2019 in Kubernetes by Ali
• 11,360 points
2,155 views

1 answer to this question.

0 votes

Here's an easy solution that worked like a charm for me. You'll find a file sudores under etc (~etc/sudores) -> comment out two of these lines there.

Default env_reset
Default secure_path
answered Jan 4, 2019 by Patrick
Can you please tell me why this problem occurred in the first place? Like a logical reasoning..

I'll try your suggestion though.
Hey @Vardhan, you get this error when either your aws cli hasn't been installed properly or it's installed and the path is not set.

Related Questions In Kubernetes

0 votes
2 answers
0 votes
1 answer

Error saying "The specified bucket does not exist" in kubernetes

Bucket is created in another region. Looks like ...READ MORE

answered Aug 31, 2018 in Kubernetes by Kalgi
• 52,350 points
4,126 views
0 votes
1 answer
0 votes
1 answer

Error saying make_bucket failed - Kubernetes AWS

Hey @Ali, what you are doing is ...READ MORE

answered Jan 4, 2019 in Kubernetes by Olivia
1,352 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,411 views
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 52,350 points
760 views
+1 vote
1 answer
0 votes
2 answers

NoSuchBucket error when running Kubernetes on AWS

It was a bug on their part. ...READ MORE

answered Sep 4, 2018 in Kubernetes by Nilesh
• 7,060 points
965 views
0 votes
2 answers

Error saying “Error from server (NotFound): the server could not find the requested resource”

official Documentation says: A client should be skewed ...READ MORE

answered Sep 19, 2018 in Kubernetes by Nilesh
• 7,060 points
4,416 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP