All these techniques are great for the scaling of the application, but what about the cluster itself. At some point, you will pack the nodes full and need more resources to schedule new pods for your workloads.
When you create your cluster, you can customize the starting number of (minions) nodes with the
NUM_MINIONS environment variable. By default, it is set to
4. The following example shows how to set it to
5 before running
$ export NUM_MINIONS = 5
Bear in mind that changing this after the cluster is started will have no effect. You would need to tear down the cluster and create it once again. Thus, this section will show you how to add nodes to an existing cluster without rebuilding it.