polyakov / kubist

8 stars 1 forks source link

+++ Staging server tars to S3 Storage: kalinfosvcs-kubernetes-artifacts/devel error #1

Open kskalvar opened 8 years ago

kskalvar commented 8 years ago

Curious, how did you get by the aws --region error when installing kubernetes release v1.3.5?

Uploading to Amazon S3 +++ Staging server tars to S3 Storage: kalinfosvcs-kubernetes-artifacts/devel usage: aws [options] [parameters] aws: error: argument --region: expected one argument

polyakov commented 8 years ago

Interesting, not an issue I ran into. By default the download script installs in Oregon region. I changed it by setting export AWS_S3_REGION=us-east-1 before running the download script. The steps I am following are from http://kubernetes.io/docs/getting-started-guides/aws/.

Can you post your script? I'd be happy to give it a try.

kskalvar commented 8 years ago

Strange stuff. I noticed it wasn't handling the "aws_s3_region" correctly in the utils.sh. So I hacked that and get further down the road. It started the master and two minions but the cluster never came up.

What's curious is it feels like the awscli isn't quite matching the kubernetes scripts. I'm using ubuntu and so I used apt-get not yum to install the packages you noted in your instructions. Didn't use pip to install awscli. So I guess I should mirror your setup a bit closer. What AMI did you use?

Thanks,

polyakov commented 8 years ago

I was running Amazon Linux AMI. AWS CLI comes preinstalled.

kskalvar commented 8 years ago

OK, definitely thumbs up on the Amazon Linux AMI. : - )

One more issue I ran into starting the cluster, and not sure why you haven't run into it: https://github.com/kubernetes/kubernetes/issues/30495

The fix is noted at the bottom of the thread. Cluster is up and running. Thanks!!!