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

Contributor Onboarding

This part of the docs is for writing addons: your own, for your platform, or one for the community catalog, kubevela/catalog. An addon is a directory of files, not a program, so there's no build step. You write it, enable it from the directory on a test cluster, and once it works you publish it to a registry or open a pull request against the catalog.

StepPage
Scaffold an addon and enable itMake Your Own Addon
Write its Application, in CUE or YAMLAddon Application in CUE or YAML
Look up a file or a metadata.yaml fieldAddon Reference
Run it on a local cluster, and run the catalog's own checksTest an Addon Locally
Publish it to your own registryBuild your Own Registry
Contribute it to the catalogContribute to the Catalog

The vela addon commands and the addon format are part of KubeVela itself, in pkg/addon of kubevela/kubevela. A change to how addons are rendered or installed is a KubeVela pull request; see KubeVela's contribution guide.

Prerequisites​

ToolVersionFor
A Kubernetes clusterAny KubeVela supports; these pages use k3dEnabling the addon
KubeVela and the vela CLIThe release you target; the catalog's CI uses v1.11.0vela addon init, enable, package, push
cuev0.14Rendering an addon's CUE without a cluster (optional)
Go1.27.1, as in the catalog's go.modRunning the catalog's checks locally (optional)

The catalog repository​

git clone https://github.com/kubevela/catalog
PathWhat's there
addons/Verified addons, one directory each. Published to the KubeVela registry.
experimental/addons/Experimental addons. Published to the experimental registry.
examples/Example Applications that use the addons, one directory per addon.
test/e2e-test/addon-test/The CI program that enables changed addons (main.go), the PENDING list of addons it skips, and definition-test/testdata/<addon>/, Applications that must reach running once their addon is enabled.
test/e2e-test/hack/check-semver.shChecks that every addon's version is a semantic version.
hack/addons/syn_addon_package.goPackages each addon and builds the registry index, on every merge.
.github/workflows/addon-test.yaml runs the checks on each pull request; addon.yaml publishes the registries.
legacy/Old definitions and charts, kept for reference. Not published.

The default branch is master.