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.7

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; KubeVela 1.11 runs workflow 0.7.
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:

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

Check the controller and the step types:

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.

The chart's values, such as the backoff limits (workflow.backoff.maxTime.*, workflow.step.errorRetryTimes) and the HTTP limits (workflow.http.maxTimeout, workflow.http.maxResponseBytes), are in its 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

The addon is labelled v0.7.3, but it runs the oamdev/vela-workflow:v0.7.2 image, which has neither the HTTP denylist nor the request limits. The chart above gets the HTTP protections; the addon doesn't, so install the chart if your WorkflowRuns make HTTP calls.

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). A WorkflowRun step that applies an Application, such as apply-app, needs vela-core there to run it.

Upgrade and uninstall​

helm upgrade never updates a chart's CRDs, so apply them before you upgrade:

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

What changed between versions is in Versions. helm uninstall vela-workflow -n vela-system removes the controller and leaves the CRDs, with your WorkflowRuns and Workflows.