website/content/en/docs/upgrade/overview.md
Sherlock113 93ce042882 fix typos
Signed-off-by: Sherlock113 <sherlockxu@yunify.com>
2021-05-14 16:00:05 +08:00

1.9 KiB

title keywords description linkTitle weight
Upgrade — Overview Kubernetes, upgrade, KubeSphere, v3.1.0, upgrade Understand what you need to pay attention to before the upgrade, such as versions and upgrade tools. Overview 7100

Make Your Upgrade Plan

KubeSphere v3.1.0 is compatible with Kubernetes 1.17.x, 1.18.x, 1.19.x and 1.20.x:

  • Before you upgrade your cluster to KubeSphere v3.1.0, you need to have a KubeSphere cluster running v3.0.0.
  • If your existing KubeSphere v3.0.0 cluster is installed on Kubernetes 1.17.x+, you can choose to only upgrade KubeSphere to v3.1.0 or upgrade Kubernetes (to a higher version) and KubeSphere (to v3.1.0) at the same time.
  • If your existing KubeSphere v3.0.0 cluster is installed on Kubernetes 1.16.x or earlier, you have to upgrade Kubernetes (to 1.17.x+) and KubeSphere (to v3.1.0) at the same time.

Before the Upgrade

{{< notice warning >}}

  • You are supposed to implement a simulation for the upgrade in a testing environment first. After the upgrade is successful in the testing environment and all applications are running normally, upgrade your cluster in your production environment.
  • During the upgrade process, there may be a short interruption of applications (especially for those single-replica Pods). Please arrange a reasonable period of time for your upgrade.
  • It is recommended to back up etcd and stateful applications before in production. You can use Velero to implement the backup and migrate Kubernetes resources and persistent volumes.

{{</ notice >}}

Upgrade Tool

Depending on how your existing cluster was set up, you can use KubeKey or ks-installer to upgrade your cluster. It is recommended that you use KubeKey to upgrade your cluster if it was created by KubeKey. Otherwise, use ks-installer to upgrade your cluster.