From 25d346a73d4d0b577bbf9acc668e517614d9499c Mon Sep 17 00:00:00 2001 From: David Nuzik Date: Mon, 4 May 2020 16:26:18 -0700 Subject: [PATCH] Update upgrade basics to mention channel server - Updates /upgrades/basic so that we now briefly describe what the channel server is and how to upgrade with the script --- content/k3s/latest/en/upgrades/basic/_index.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/content/k3s/latest/en/upgrades/basic/_index.md b/content/k3s/latest/en/upgrades/basic/_index.md index d0f1b8654c8..4e621580fa3 100644 --- a/content/k3s/latest/en/upgrades/basic/_index.md +++ b/content/k3s/latest/en/upgrades/basic/_index.md @@ -7,6 +7,10 @@ You can upgrade K3s by using the installation script, or by manually installing >**Note:** When upgrading, upgrade server nodes first one at a time, then any worker nodes. +### About the Channel Server + +The [channel server](https://github.com/rancher/channelserver) allows the install script to install or upgrade K3s within specific channels such as `stable` (default), `latest`, or `testing`. For additional channels, see [https://update.k3s.io/v1-release/channels](https://update.k3s.io/v1-release/channels). + ### Upgrade K3s Using the Installation Script To upgrade K3s from an older version you can re-run the installation script using the same flags, for example: @@ -14,8 +18,14 @@ To upgrade K3s from an older version you can re-run the installation script usin ```sh curl -sfL https://get.k3s.io | sh - ``` +This will upgrade to a newer version in the stable channel by default. -If you want to upgrade to specific version you can run the following command: +If you want to upgrade to a newer version in a specific channel (such as latest) you can specify the channel: +```sh +curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=latest sh - +``` + +If you want to upgrade to a specific version you can run the following command: ```sh curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=vX.Y.Z-rc1 sh -