Installing Kubernetes on aws gives an error

0 votes

I'm trying to install kubernetes on aws and when i execute the following command, it throws an error.

KUBERNETES_PROVIDER=aws; curl -sS https://get.k8s.io | bash

I get this error

Unpacking kubernetes release v1.3.0 Creating a kubernetes on aws... ... Starting cluster in us-west-2a using provider aws ... calling verify-prereqs ... calling kube-up Starting cluster using os distro: jessie usage: aws [options] [parameters] aws: error: argument subcommand: Invalid choice, valid choices are:

list Uploading to Amazon S3 +++ Staging server tars to S3 Storage: kubernetes-staging-a9b7435c8fc7b6c3d3e26fdd5b84aaae/devel usage: aws [options] [parameters] aws: error: argument --region: expected one argument
Oct 4, 2018 in Kubernetes by lina
• 8,220 points
709 views

1 answer to this question.

0 votes

seems like you are missing region. Try adding your region KUBERNETES_PROVIDER=aws; KUBE_AWS_ZONE=us-east-1a; curl -sS https://get.k8s.io | bash

answered Oct 4, 2018 by Kalgi
• 52,350 points

Related Questions In Kubernetes

0 votes
2 answers

Kubernetes on AWS: “Error: unknown flag: --config”

Update the cluster.yaml, changing the line kubernetesVersion: v1.6.6_coreos.1 to kubernetesVersion: v1.7.10_coreos.0 Should ...READ MORE

answered Oct 4, 2018 in Kubernetes by Kalgi
• 52,350 points
2,524 views
0 votes
1 answer
0 votes
2 answers
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
• 52,350 points
1,396 views
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
951 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