title
k3OS

Updating k3OS to the Latest Version

This guide provides instructions for updating k3OS to the latest version. Keeping k3OS up-to-date is important to ensure that the latest features and security updates are available and to enable smooth running of the United Manufacturing Hub cloud-init file.

Updating k3OS to the Latest Version
⚠️
Please note that k3OS is deprecated. We recommend switching to flatcar instead.

k3OS is a lightweight operating system designed specifically for Kubernetes. It is important to keep your k3OS installation up-to-date to take advantage of the latest features and security updates and to enable smooth running of the United Manufacturing Hub cloud-init file. This guide will provide you with instructions for updating k3OS to the latest version.

Instructions

Before updating, it is important to check which version of k3OS you are currently running. To do this, connect to your k3OS installation via SSH and use the following command:

k3s -v

To upgrade to the latest version of k3OS, follow these steps:

  1. Connect to your k3OS installation via SSH.
  2. Use the following command to label the nodes for the upgrade process:

kubectl label nodes -l k3os.io/mode k3os.io/upgrade=latest

The upgrade process may take a while and require a reboot. Once the upgrade process is complete, you will need to fetch your credentials again using the cat command, as the upgrade may change from using username and password to using certificates.

Stay up-to-date

Subscribe to the UMH Learning Hub Newsletter to receive the latest updates and gain early access to our blog posts.

Subscribe