Kubernetes on AWS

6/6/2016

When running the following command on kube-master (CoreOS):

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

I get following error:

Can't find aws in PATH, please fix and retry.

I have already set PATH. Can anyopne tell which 'aws' it is searching for? Is it the aws directory in kubernetes repo directory i.e. kubernetes/cluster/aws?

-- Madhurima Mishra
amazon-ec2
amazon-web-services
coreos
kubernetes

3 Answers

11/8/2017

If you are using Ubuntu OS. run the below command. it will resolve your issue.

apt-get install awscli
-- Krishna Mohan
Source: StackOverflow

6/6/2016

Follow the AWS CLI installation guide and then ensure your PATH is set correctly.

-- Bardi Harborow
Source: StackOverflow

6/13/2016

Yes, you are right.

If you set "aws" as KUBERNETES_PROVIDER, Kubernetes will use scripts that reside in kubernetes/cluster/aws. If no KUBERNETES_PROVIDER is set, I believe the default it to rely on gcloud CLI tool.

-- gnis
Source: StackOverflow