From 818737b8fccb7043f395ceb1eb41e451fea40885 Mon Sep 17 00:00:00 2001 From: David Nuzik Date: Mon, 4 May 2020 16:46:43 -0700 Subject: [PATCH] Update automated upgrades to mention channel server stable URL - Updates upgrades/automated so that the section that mentions channels for the YAML now mentions the channel server stable URL. --- content/k3s/latest/en/upgrades/automated/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/k3s/latest/en/upgrades/automated/_index.md b/content/k3s/latest/en/upgrades/automated/_index.md index 3ac8143052e..20b0e7e054d 100644 --- a/content/k3s/latest/en/upgrades/automated/_index.md +++ b/content/k3s/latest/en/upgrades/automated/_index.md @@ -94,14 +94,14 @@ Third, the server-plan targets server nodes by specifying a label selector that Fourth, the `prepare` step in the agent-plan will cause upgrade jobs for that plan to wait for the server-plan to complete before they execute. -Fifth, both plans have the `version` field set to v1.17.4+k3s1. Alternatively, you can omit the `version` field and set the `channel` field to a URL that resolves to a release of K3s. This will cause the controller to monitor that URL and upgrade the cluster any time it resolves to a new release. This is designed specifically to work with the [latest release functionality of GitHub](https://help.github.com/en/github/administering-a-repository/linking-to-releases). Thus, you can configure your plans with the following channel to ensure your cluster is always automatically upgraded to the latest release of K3s: +Fifth, both plans have the `version` field set to v1.17.4+k3s1. Alternatively, you can omit the `version` field and set the `channel` field to a URL that resolves to a release of K3s. This will cause the controller to monitor that URL and upgrade the cluster any time it resolves to a new release. This works well with the [channel server](https://github.com/rancher/channelserver). Thus, you can configure your plans with the following channel to ensure your cluster is always automatically upgraded to the newest stable release of K3s: ``` apiVersion: upgrade.cattle.io/v1 kind: Plan ... spec: ... - channel: https://github.com/rancher/k3s/releases/latest + channel: https://update.k3s.io/v1-release/channels/stable ```