Comments on How to setup a Kubernetes Cluster on AWS using Kops

Kops is used to bringing up the Kubernetes cluster in the easiest possible way. It is a command-line tool used to create Kubernetes Clusters. In this article, we will see the steps to create a Kubernetes cluster with 1 master and 1 worker node on AWS.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Andrew Newman

 Hi, following this tutorial I've sucessfully created a kops cluster, but when i go "kops update cluster [my_domain_name] --yes  it comes back with the error "error reading cluster configuration: Cluster.kops [my_domain_name] not found"   but it liked it when i created the cluster...can anybody help?

 

By: Rahul Shivalkar

Hi Andrew,

Try to export your bucket name used to store the state.

E.g.

export KOPS_STATE_STORE=s3://bucket-name

 

By: shiju

@andrew you have to create the cluster first.

By: Helmo

The first two commands in the "Install Kubectl and Kops on the EC2 instance" section are truncated...They should be:

```curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"

```