123DevOps··7 min read

What is KubeVela? Application delivery with the Open Application Model

Understand KubeVela: the OAM model with Application, components, traits, policies, and workflow, CUE-based definitions, multi-cluster delivery, and how it fits into an internal developer platform.

Kubernetes

To ship a simple service on Kubernetes, a developer has to write a Deployment, Service, Ingress, HPA, and a handful more YAML, then repeat it all per environment. Platform teams try to hide this with charts and templates, but the result is often a “Helm of Helms” nobody understands. KubeVela proposes a different layer: the developer describes the application, and the platform decides how it turns into resources.

What KubeVela is

KubeVela is an application delivery control plane for hybrid and multi-cloud environments. It implements the Open Application Model (OAM), a specification created by Alibaba and Microsoft to separate what the developer owns (the application) from what the platform owns (how it runs).

It runs as a controller inside a Kubernetes cluster, ships the vela CLI, and has an optional web UI, VelaUX. It is distributed under the Apache 2.0 license.

As of November 2026, KubeVela is an Incubating CNCF project: it joined as Sandbox in 2021 and moved to Incubating in 2023 (check the project page). At the time of research, the release marked as latest on GitHub was v1.11.2, with a 1.12 line in pre-release.

What problem it solves

  • Lots of YAML for little intent. “An API with 2 replicas and a domain” becomes five Kubernetes objects.
  • Drifting environments. Staging and production are slightly different copies, maintained by hand.
  • Delivery to multiple clusters. Shipping the same application to different regions takes scripts or one tool per cluster.
  • Fragile abstractions. Generic charts expose hundreds of values; specific ones turn into forks.

How it works

The OAM model

Everything revolves around the Application object, in the core.oam.dev group:

Concept What it is Example
Component A part of the application, of a type defined by the platform webservice, worker, task
Trait An operational capability attached to a component scaler, gateway, hpa, sidecar
Policy A rule that applies to the whole application topology (where to deploy), override (per-environment differences)
Workflow Delivery steps, in order deploy, suspend, apply-component, notifications

The developer only fills in the properties of the types the platform offers. How each type becomes a Deployment, Service, or Ingress is hidden in the definition.

CUE-based definitions

Component types, traits, policies, and workflow steps are definitions (ComponentDefinition, TraitDefinition…) written in CUE, a configuration language with types and validation. A minimal stateless type, in the documentation’s format:

stateless: {
	annotations: {}
	attributes: workload: definition: {
		apiVersion: "apps/v1"
		kind:       "Deployment"
	}
	description: "Stateless service for your-org"
	labels: {}
	type: "component"
}

template: {
	output: {
		apiVersion: "apps/v1"
		kind:       "Deployment"
		spec: {
			selector: matchLabels: "app.oam.dev/component": parameter.name
			template: {
				metadata: labels: "app.oam.dev/component": parameter.name
				spec: containers: [{
					name:  parameter.name
					image: parameter.image
				}]
			}
		}
	}
	outputs: {}
	parameter: {
		name:  string
		image: string
	}
}

vela def vet stateless.cue validates the file and vela def apply stateless.cue turns it into a ComponentDefinition in the vela-system namespace. From then on, any Application can use type: stateless. That’s the point: the platform team publishes a small, validated API, and the rest of the organization consumes it.

Multi-cluster

Clusters are registered with vela cluster join and given labels. The topology policy picks the target by name (clusters) or by label (clusterLabelSelector), and the override policy changes properties per target. A single Application delivers to several clusters, in sequence or in parallel.

Hands-on example

Installing the core with Helm, per the documentation (the CLI can also install it with vela install):

helm repo add kubevela https://kubevela.github.io/charts
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --wait
vela addon enable velaux   # optional: web UI

Registering a production cluster:

vela cluster join prod-east.kubeconfig --name prod-east
vela cluster labels add prod-east env=prod
vela cluster list

Now an application that goes to staging on the local cluster, stops and waits for approval, and then moves on to the production clusters with more replicas:

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: my-api
  namespace: teams
spec:
  components:
    - name: my-api
      type: webservice
      properties:
        image: registry.example.com/your-org/my-api:2.3.1
        ports:
          - port: 8080
            expose: true
        cpu: "0.5"
        memory: "256Mi"
      traits:
        - type: scaler
          properties:
            replicas: 2
        - type: gateway
          properties:
            domain: api.example.com
            http:
              "/": 8080
  policies:
    - name: staging
      type: topology
      properties:
        clusters: ["local"]
        namespace: staging
    - name: production
      type: topology
      properties:
        clusterLabelSelector:
          env: prod
    - name: production-ha
      type: override
      properties:
        components:
          - type: webservice
            traits:
              - type: scaler
                properties:
                  replicas: 4
  workflow:
    steps:
      - name: deploy-staging
        type: deploy
        properties:
          policies: ["staging"]
      - name: approval
        type: suspend
      - name: deploy-production
        type: deploy
        properties:
          policies: ["production", "production-ha"]
vela up -f my-api.yaml
vela status my-api -n teams          # shows the workflow paused at "approval"
vela workflow resume my-api -n teams # releases production

The manifest passed a syntax check; the vela commands follow the official documentation and were not run for this article, because the KubeVela CRDs were not installed on the test cluster.

KubeVela and platform engineering

KubeVela is a platform engineering building block: the CUE definitions are the “platform API”, and the Application is the contract with the teams. It is not a portal; it pairs well with a portal in front and GitOps behind, keeping Applications in Git and letting Argo CD or Flux apply them. The caveat is the same as for any abstraction: expose few parameters and evolve them with your users, as discussed in Pragmatic abstraction.

When to use it (and when not to)

Use it when:

  • there is a platform team willing to maintain definitions and many teams consuming them;
  • delivery spans several environments or clusters, with approvals in between;
  • you want to validate developer input through types instead of reviewing raw YAML.

Avoid it when:

  • there are only a few services and a well-made Helm chart does the job;
  • nobody on the team wants to learn CUE. The built-in definitions cover the basics, but the value is in custom ones;
  • you need an API for cloud infrastructure (databases, queues). Crossplane is more specialized there, and the two can coexist.

Alternatives

Tool Focus Main difference
Helm Packaging YAML templates, no application model or workflow
Argo CD / Flux GitOps Sync what’s in Git; don’t define abstractions
Crossplane Infrastructure APIs Compositions of cloud resources as CRDs
Score Workload specification A single file translated to several platforms

Summary

  • Understand OAM’s split between the application (dev) and definitions (platform)
  • Install vela-core with Helm and, if you want a UI, the VelaUX addon
  • Create a ComponentDefinition in CUE with few parameters and validate it with vela def vet
  • Use topology and override policies instead of copying YAML per environment
  • Add a suspend step before production
  • Version Applications in Git and apply them through GitOps
  • Check with the teams whether the abstraction is helping or getting in the way

A good Application fits on one screen: if the developer has to read the CUE definition, the abstraction has leaked.

Get updates on new posts and stay in the loop!