mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 13:38:07 +00:00
Rename rke-add-ons upgrade doc, add helm upgrade procedure
This commit is contained in:
committed by
Denise Schannon
parent
4d505f76c1
commit
ff6d8a2095
@@ -6,5 +6,6 @@ This section contains information about how to upgrade your Rancher server to a
|
|||||||
|
|
||||||
- [Upgrading a Single Node Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/)
|
- [Upgrading a Single Node Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/)
|
||||||
- [Upgrading an Air Gapped Single Node Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/single-node-air-gap-upgrade/)
|
- [Upgrading an Air Gapped Single Node Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/single-node-air-gap-upgrade/)
|
||||||
- [Upgrading a High Availability Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/ha-server-upgrade/)
|
- [Upgrading a High Availability Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/ha-server-upgrade-helm/)
|
||||||
- [Migrating from a High Availability RKE Add-on Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/migrating-from-rke-add-on/)
|
- [Migrating from a High Availability RKE Add-on Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/migrating-from-rke-add-on/)
|
||||||
|
- [Upgrading a High Availability Install - RKE Add-On Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/upgrades/ha-server-upgrade/)
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
---
|
||||||
|
title: High Availability (HA) Upgrade
|
||||||
|
weight: 1020
|
||||||
|
---
|
||||||
|
|
||||||
|
The following instructions will help guide you through upgrading Rancher server [HA installed with the Helm package manager]({{< baseurl >}}/rancher/v2.x/en/installation/ha/).
|
||||||
|
|
||||||
|
If you installed Rancher using the RKE Add-On yaml, see these docs to migrate or upgrade.
|
||||||
|
|
||||||
|
* [Migrating from RKE Add-On Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/migrating-from-rke-add-on)
|
||||||
|
* [High Availability (HA) Upgrade - RKE Add-On Install]({{< baseurl >}}/rancher/v2.x/en/upgrades/ha-server-upgrade)
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
### kubectl
|
||||||
|
|
||||||
|
Follow the `kubectl` configuration instructions and confirm that you can connect to the Kubernetes cluster running Rancher server.
|
||||||
|
|
||||||
|
* [kubectl Installation and Config]({{< baseurl >}}/rancher/v2.x/en/faq/kubectl)
|
||||||
|
|
||||||
|
### helm
|
||||||
|
|
||||||
|
Install or update `helm` to the latest version.
|
||||||
|
|
||||||
|
* [Installing helm](https://docs.helm.sh/using_helm/#installing-helm)
|
||||||
|
|
||||||
|
### tiller
|
||||||
|
|
||||||
|
Update the helm agent, `tiller` on your cluster.
|
||||||
|
|
||||||
|
```
|
||||||
|
helm init --upgrade --service-account tiller
|
||||||
|
```
|
||||||
|
|
||||||
|
## Backup Your Rancher Cluster
|
||||||
|
|
||||||
|
Follow the instructions to take a one-time snapshot of your Rancher server cluster.
|
||||||
|
|
||||||
|
* [HA Backups: Take a One-Time Snapshot]({{< baseurl >}}/rancher/v2.x/en/backups/backups/ha-backups/#option-b-one-time-snapshots)
|
||||||
|
|
||||||
|
## Upgrade Rancher
|
||||||
|
|
||||||
|
Update your local helm repo cache.
|
||||||
|
|
||||||
|
```
|
||||||
|
helm repo update
|
||||||
|
```
|
||||||
|
|
||||||
|
Get the set values from current Rancher release.
|
||||||
|
|
||||||
|
```
|
||||||
|
helm get values rancher
|
||||||
|
|
||||||
|
hostname: rancher.my.org
|
||||||
|
```
|
||||||
|
|
||||||
|
Take the values above and use `helm` with `--set` options to upgrade Rancher to the latest version.
|
||||||
|
|
||||||
|
```
|
||||||
|
helm upgrade rancher rancher-stable/rancher --set hostname=rancher.my.org
|
||||||
|
```
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: High Availability (HA) Upgrade
|
title: High Availability (HA) Upgrade - RKE Add-on
|
||||||
weight: 1020
|
weight: 1040
|
||||||
aliases:
|
aliases:
|
||||||
- /rancher/v2.x/en/upgrades/ha-server-upgrade/
|
- /rancher/v2.x/en/upgrades/ha-server-upgrade/
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user