Search⌘ K

Upgrading the Cluster Automatically

Explore how to use kOps to automatically upgrade your Kubernetes cluster to the latest stable version. Understand the rolling update process and how to manage cluster upgrades efficiently, preparing your environment for continuous deployment and testing.

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.

Shell
kops upgrade cluster $NAME --yes

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

Shell
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`
...