KubeVela Documentation

website·Indexed 34 days ago

https://kubevela.io/

Documentation for KubeVela v1.11, a cloud-native application delivery platform. Includes guides for platform engineers and end users on workflow management, CUE-based abstraction, multi-cluster placement, GitOps integration with FluxCD, and the installation of various addons such as Kruise Rollout, Nginx Ingress Controller, and Cert-Manager.

Tokens
1.9M
Snippets
8.6K
Records
12.8K
Agent score
64%

What's inside KubeVela

  1. Overview of KubeVela Workflow capabilities

    v1.7

    Workflows in KubeVela allow developers to customize the delivery process beyond the standard Kubernetes 'Apply' model. They can be used to implement complex logic such as manual approvals, conditional execution, multi-environment gray releases, and A/B testing.

    Key capabilities include:

    • Built-in Steps: Use predefined steps like suspend, notification, deploy, and step-group.
    • Custom Steps: Define your own WorkflowStepDefinition if built-in steps are insufficient.
    • Automatic Workflows: If no workflow is explicitly declared in an Application, KubeVela automatically generates a default workflow to deploy the components.
  2. Overview of Module Hooks in KubeVela

    Module hooks are lifecycle actions declared in module.yaml and executed by vela def apply-module. They allow platform engineers to prepare a cluster before definitions (ComponentDefinitions and TraitDefinitions) are applied and verify the state after they land.

    Common use cases include:

    • Ensuring a target namespace exists and is labeled.
    • Registering required CRDs before a trait patches them.
    • Creating secrets or ConfigMaps for credentials.
    • Running smoke tests after application to confirm definitions are visible.

    Important: Module application is not atomic. There is no rollback; if a definition fails during apply, post-apply hooks still run, and failures in post-apply hooks do not remove already-applied definitions.

  3. Overview of OAM Definitions in KubeVela

    v1.9

    OAM Definitions are the building blocks of the KubeVela platform. They encapsulate complex automation as modular components that can be shared and discovered to compose an Application. There are four primary types of definitions:

    • ComponentDefinition: Defines the basic building blocks of an application.
    • TraitDefinition: Defines optional capabilities that can be added to components.
    • PolicyDefinition: Defines how applications are deployed and managed.
    • WorkflowStepDefinition: Defines steps within an application delivery workflow.
  4. Overview of KubeVela defkit Go SDK

    defkit is a Go SDK that allows platform engineers to author KubeVela X-Definitions—including ComponentDefinition, TraitDefinition, PolicyDefinition, and WorkflowStepDefinition—using native Go code. The SDK uses a fluent API (method-chaining builder pattern) that transparently compiles to CUE, which is the format expected by the KubeVela controller. This allows developers to leverage Go's type safety, IDE support, and testing frameworks while producing output identical to hand-written CUE.
  5. Overview of the Elastic Cloud Terraform addon

    The terraform-ec addon integrates the Terraform provider for Elastic Cloud into KubeVela. This allows developers to manage Elastic Stack deployments (Elasticsearch, Elastic Agent, Beats, Logstash, and Kibana) as code across various platforms, including Elasticsearch Service and Elastic Cloud Enterprise.
  6. Overview of KubeVela Platform verified addons

    v1.8
    KubeVela provides a set of verified, community-maintained out-of-the-box addons available via the KubeVela community registry. These addons extend the platform's capabilities across various domains including observability, GitOps, cloud resource management, and security. The source code for these addons is hosted in the KubeVela catalog repository.