florianrosenberg
florianrosenberg

Reputation: 159

Add nodes to kubernetes cluster on AWS?

I initially setup a cluster with the kube-up.sh utility on AWS. Now I ran out of capacity and I'm looking for a simple way to extend my cluster with more nodes.

Is there a 'simple' way to add more nodes to a running cluster on AWS? I've been reading all the docs but cannot seem to find a way.

Thanks!

Upvotes: 5

Views: 2831

Answers (2)

justinsb
justinsb

Reputation: 306

If you used kube-up, your minions should be launched into an auto-scaling group, and you should just be able to change the size of that auto-scaling group.

This question is a few months old, so I'm not sure whether this was the case back in July, but it should definitely be the case now.

I'm also working on launching the master into an auto-scaling group, so that if the master dies it is automatically restated, but that is a little more complicated because of the persistent disk. But hopefully I'll make 1.1!

Upvotes: 15

Brendan Burns
Brendan Burns

Reputation: 734

It's not "simple", but if you clone the set up on one of your nodes, it will automatically register itself with the master.

Basically you need to clone the kubelet configuration and authorization tokens.

You will also need to set up advanced networking to route packets to the subnet of the node. Again, if you look at the config of an existing node, you should be able to emulate what needs to happen.

This is one of the places where Google Container Engine makes things easier, scaling is integrated into the console experience.

Eventually someone may support Amazon autoscaling groups, but for now this sort of thing is definitely better supported on the Google Cloud Platform.

Upvotes: 2

Related Questions