Skip to main content
Version: main 🚧

Upgrade vCluster

At any time, you can upgrade the version of your vCluster. During the upgrade, you can also apply configuration option changes.

Upgrades should be done one minor version at a time. While larger jumps may be possible, we do not actively test or support this path. The following list represents known upgrade path concerns, but does not include all breaking changes:

  • In v0.29 etcd was upgraded to v3.6. The upstream etcd docs state that before upgrading to v3.6, you must already be on v3.5.20 or higher, otherwise failures may occur. This version of etcd was introduced in vCluster v0.24.2. Ensure that you have upgraded to at minimum that version, before upgrading to v0.29.
  • In v0.20, vcluster.yaml was introduced which replaced values.yaml, and a migration was required. See the following page for a guide on that path.

Update vcluster.yaml​

Optionally, you can update your vcluster.yaml to change your configuration options during a vCluster version upgrade.

Limitations on changing configuration

You cannot change distros or backing store once a virtual cluster is deployed, with one exception: starting with vCluster 0.25.0, migration from K3s to K8s distro is supported. For more details, see the K3s to K8s Migration.

Upgrade vCluster version​

These steps assume that you have been a vcluster.yaml, but there are variables in the code blocks for you to replace for:

  • Name of the virtual cluster
  • Namespace of where the virtual cluster is deployed
  • Version to upgrade to
Modify the following with your specific values to replace on the whole page and generate copyable commands:

Upgrade your CLI to the version of vCluster that you want to upgrade your virtual cluster to.

vcluster upgrade --version 0.30.0
vcluster create --upgrade myvcluster -n vcluster -f vcluster.yaml