...

/

Upgrading the Cluster Automatically

Upgrading the Cluster Automatically

In this lesson, we will discuss how to upgrade the cluster automatically.

We'll cover the following...

kOps upgrade

We edited the cluster’s desired state before we started the rolling update process. While that worked well, we’re likely to always upgrade to the latest stable version. In those cases, we can execute the kops upgrade command.

Press + to interact
kops upgrade cluster $NAME --yes

Please note that this time we skipped the preview by setting the --yes argument. The output is as follows:

Press + to interact
ITEM PROPERTY OLD NEW
Cluster KubernetesVersion v1.9.2 v1.14
...
Updates applied to configuration.
You can now apply these changes, using `kops update cluster devops23.k8s.local`
...