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 Next

Install

What you install depends on where your workflows run:

You want to runInstall
Workflows in Applications (spec.workflow)Nothing more: vela-core embeds the engine. Install KubeVela, and its version decides the engine's (KubeVela 1.12 runs 0.8).
WorkflowRuns, with or without KubeVelaThe vela-workflow controller, from its Helm chart or the KubeVela addon.

The vela CLI is optional for both. Its vela workflow commands suspend, resume, restart and read the logs of a WorkflowRun as well as an Application: see Install the vela CLI.

Install the Helm chart​

The chart installs the controller, its CRDs (WorkflowRun, Workflow, WorkflowStepDefinition), the admission webhook and the built-in step types. It needs no KubeVela, so it works on any cluster. Workflow 0.8 is a pre-release, so name the version:

helm repo add kubevela https://kubevela.github.io/charts
helm repo update
helm install vela-workflow kubevela/vela-workflow --version 0.8.0-alpha.3 \
--namespace vela-system --create-namespace --wait

--wait returns once the controller is ready. A hook Job then applies the built-in step definitions, so give it a few seconds before you check them:

kubectl get pods -n vela-system
kubectl get workflowstepdefinitions -n vela-system

The vela-workflow pod should be Running, and the list should hold the 24 built-in step types, from addon-operation to vela-cli. This page was checked on k3s v1.35.

Chart values worth knowing​

ValueDefaultWhat it does
workflow.enableCelExpressionsfalseLets a WorkflowRun annotated workflowrun.oam.dev/cel-expressions: "true" use $( ) expressions in properties, forEach items and if.
workflow.step.forEachMaxItems50The most items a forEach loop may have.
workflow.backoff.maxTime.waitState, .failedState60, 300The longest wait between retries, in seconds: see Workflow Working Mechanism.
workflow.step.errorRetryTimes10How often a failed step is retried.
workflow.http.maxTimeout, workflow.http.maxResponseBytes60s, 1048576Limits on HTTP steps: see Workflow Outbound HTTP Protection.
builtinDefinitions.job.image.*alpine/k8s:1.34.13The image of the Job that applies the built-in step definitions. Point it at a mirror where Docker Hub isn't reachable.
systemDefinitionNamespacethe release namespaceWhere the built-in step definitions are installed.

The full list is in the chart's README. Its TL;DR still names the old charts.kubevela.net repository and an old Kubernetes range: use https://kubevela.github.io/charts as above.

Install the KubeVela addon​

With KubeVela installed, the addon installs the same controller:

vela addon enable vela-workflow
caution

The addon is labelled v0.7.3 but runs the oamdev/vela-workflow:v0.7.2 image, so it runs workflow 0.7 even on KubeVela 1.12, without the HTTP denylist and request limits that the chart's controller has (see HTTP Protection). A 0.7 controller doesn't know 0.8's step features, such as forEach and $( ) expressions, and its CRD drops the fields. For them, install the 0.8 chart instead of the addon.

With KubeVela on the same cluster​

vela-core and the chart can share a cluster: vela-core runs Applications, the vela-workflow controller runs WorkflowRuns, and each keeps its own HTTP denylist (see Install both charts together). Install KubeVela first. A WorkflowRun step that applies an Application, such as apply-app, needs vela-core there to run it.

Upgrade​

helm repo update kubevela
helm show crds kubevela/vela-workflow --version <version> | kubectl apply --server-side --force-conflicts -f -
helm upgrade vela-workflow kubevela/vela-workflow --version <version> -n vela-system

helm upgrade never updates a chart's CRDs, so apply them first: a field added since your first install, such as forEach, is otherwise dropped by the API server without an error. What changed between versions is in Versions.

Uninstall​

helm uninstall vela-workflow -n vela-system

The CRDs stay, and so do your WorkflowRuns and Workflows. Delete the CRDs only once nothing uses them: deleting a CRD deletes every object of its kind.