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 in Kubernetes by Ali
• 10,450 points
24 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 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
• 39,330 points
246 views
0 votes
1 answer
0 votes
1 answer
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
• 39,330 points
58 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
• 39,330 points
50 views
0 votes
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
• 6,900 points
34 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
• 6,900 points
454 views