mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-16 18:13:17 +00:00
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
This commit is contained in:
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user