Install
What you install depends on where your workflows run:
| You want to run | Install |
|---|---|
Workflows in Applications (spec.workflow) | Nothing more: vela-core embeds the engine. Install KubeVela; KubeVela 1.10 runs workflow 0.6. |
| WorkflowRuns, with or without KubeVela | The 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.6.5 \
--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 runs the oamdev/vela-workflow:v0.7.2 image, so on KubeVela 1.10 it installs workflow 0.7, not 0.6, and without the HTTP denylist and request limits. Install the 0.6.5 chart instead to keep the WorkflowRun controller on the same engine as vela-core, with the HTTP protections.
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.