Skip to main content
Version: v0.27 Stable

Upgrade vCluster

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

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

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

vcluster upgrade --version <VCLUSTER_VERSION>
vcluster create --upgrade <VCLUSTER_NAME> -n <VCLUSTER_NAMESPACE> -f vcluster.yaml

Replace:

  • <VCLUSTER_VERSION> with the version of vCluster that you want to upgrade to.
  • <VCLUSTER_NAME> with the name of your vCluster.
  • <VCLUSTER_NAMESPACE> with the namespace that is running the vCluster.