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!
Open the Amazon EKS console at https://console.aws.amazon.com/eks/home#/clusters . Choose the name of the cluster that you want to create a managed node group in. Select the Compute tab. Choose Add node group.
A cluster is a collection of Amazon Elastic Compute Cloud (Amazon EC2) instances. Each instance in the cluster is called a node. Each node has a role within the cluster, referred to as the node type.
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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With