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: Workflow 0.6

Versions

The workflow engine has its own version, separate from KubeVela's. vela-core embeds one engine version, built in, and the vela-workflow controller that runs WorkflowRuns is installed on its own, from its chart or the addon. This page says which goes with which.

Which engine each KubeVela release runs​

KubeVelaEngine in vela-coreDocs
v1.12 (v1.12.0-alpha.2)v0.8.0-alpha.20.8
v1.11.2v0.7.30.7
v1.11.1v0.7.3 (pre-release commit)0.7
v1.11.0v0.7.20.7
v1.10.10v0.6.50.6 (this version)
v1.10.9v0.6.3 (pre-release commit)0.6
v1.10.0v0.6.1 (pre-release commit)0.6
v1.9.15v0.6.2 (pre-release commit)0.6
v1.9.14v0.6.10.6
v1.9.0v0.5.1 (pre-release commit)not covered: see the v1.9 KubeVela docs

This is what an Application's workflow runs. Patch releases not listed pin a version in between: the exact pin is in each release's go.mod. The same table for the other products is in KubeVela's release notes overview.

The vela-workflow controller​

WorkflowRuns are run by whichever vela-workflow controller you installed, whatever vela-core embeds:

InstallVersionEngine
Chart kubevela/vela-workflow 0.8.0-alpha.2pre-release, needs --version or --devel0.8
Chart kubevela/vela-workflow 0.7.3latest release0.7
Chart kubevela/vela-workflow 0.6.50.6
Addon vela-workflow v0.7.3 (vela addon enable vela-workflow)what the catalog holds; runs the v0.7.2 image0.7, without the HTTP denylist and request limits

So on KubeVela 1.12 with the addon, an Application's workflow runs 0.8 and a WorkflowRun runs 0.7. A 0.8 feature in a WorkflowRun, such as forEach or $( ) expressions, needs the 0.8 chart: see Install.

Building on the engine​

If you import github.com/kubevela/workflow as a Go module, each line moves the toolchain and Kubernetes libraries:

EngineGok8s.io/client-gocontroller-runtime
v0.8.0-alpha.21.27.1v0.37.1v0.25.2
v0.7.31.23.8v0.31.10v0.19.7
v0.6.51.23.8v0.31.10v0.19.7

Upgrade notes​

0.7 to 0.8​

  • New step fields need the new CRDs. forEach is a new field on the Workflow and WorkflowRun CRDs. helm upgrade does not update a chart's CRDs, so apply them yourself, or an older CRD drops the field and a looped step runs once:

    helm show crds kubevela/vela-workflow --version 0.8.0-alpha.2 | kubectl apply --server-side --force-conflicts -f -

    See Repeating Steps with forEach for the same on vela-core.

  • $( ) expressions are off by default in a WorkflowRun. Turn them on with the chart value workflow.enableCelExpressions=true, and annotate each WorkflowRun that uses them with workflowrun.oam.dev/cel-expressions: "true".

  • The built-in step definitions are applied by a hook Job after the controller is ready, on the alpine/k8s image. A cluster that can't pull it needs builtinDefinitions.job.image set to a mirror.

  • The webhook certificates are managed by the controller. The chart no longer runs the kube-webhook-certgen Jobs.

  • HTTP steps are bounded. A request, webhook or notification step with a timeout of 0, a negative one or one over workflow.http.maxTimeout (60s) fails, as does a response over workflow.http.maxResponseBytes (1 MiB), and a step's TLS Secret is read only from the step's namespace. See Workflow Outbound HTTP Protection.

The full list is in the v0.8.0-alpha.1 and v0.8.0-alpha.2 release notes.

0.6 to 0.7​

The step fields are the same. 0.6.5 and 0.7.3 both carry the HTTP denylist and the request limits, so moving between those two changes nothing for an HTTP step. See the v0.7.0 release notes.