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: Next

Upgrade from v1.9 to v1.10

Read the v1.10.0 release notes before you upgrade.

caution

Upgrade to v1.10.5 or later, not v1.10.4. v1.10.4 breaks components whose templates use import statements. The commands below use v1.10.10, the latest v1.10 patch.

Check your definitions​

v1.10 renders definitions with the CueX engine on CUE v0.9.2 (v1.9 used CUE v0.5.0). Before you upgrade, check that your custom ComponentDefinitions, TraitDefinitions, PolicyDefinitions and WorkflowStepDefinitions still compile, for example with vela def vet <file> using the v1.10 CLI.

Also check:

  • ref-objects components that reference resources outside the core.oam.dev group and the empty group must set group; see Distribute Reference Objects.
  • If you pass --leader-election-resource-lock to the controller, remove it. The flag no longer exists and the controller fails to start with it.
  • v1.10.10 has breaking changes of its own: helm upgrade --reuse-values fails to render; config steps read configs from the Application's namespace, except shared system configs in vela-system, and Terraform module SSH keys come from the definition's namespace; Argo CD and Flux need to ignore the webhook failurePolicy. See the v1.10.10 release notes.

Upgrade steps​

  1. Upgrade the CRDs, please make sure you upgrade the CRDs first before upgrade the helm chart. v1.10 adds the packages.cue.oam.dev CRD.
helm repo remove kubevela 2>/dev/null || true
helm repo add kubevela https://kubevela.github.io/charts
helm repo update
helm pull kubevela/vela-core --version 1.10.10 --untar
kubectl apply -f vela-core/crds/
  1. Upgrade your kubevela chart
helm upgrade -n vela-system --install kubevela kubevela/vela-core --version 1.10.10 --wait
  1. Download and upgrade to the corresponding CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.10.10
  1. Upgrade VelaUX or other addon
vela addon upgrade velaux