Updating the Cluster

Learn to change and update the configuration of our cluster.

Editing the definition

With kOps, we cannot update the cluster directly. Instead, we edit the desired state of the cluster stored, in our case, in the S3 bucket. Once the state is changed, kOps will make the necessary changes to comply with the new desire.

We’ll try to update the cluster so that the number of worker nodes is increased from one to two. In other words, we want to add one more server to the cluster.

The kOps edit commands

Let’s see the sub-commands provided through kops edit.

Get hands-on with 1200+ tech skills courses.