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,100 points
19 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 36,420 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
• 36,420 points
102 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
• 36,420 points
38 views
0 votes
4 answers

Error saying "Unable to connect to the server: x509: certificate signed by unknown authority"

Append kubectl get all command with --insecure-skip-tls-verify=true This did ...READ MORE

answered Apr 23 in Kubernetes by Joshua
2,270 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
• 6,900 points
24 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.