vela-core

by kubevela

Helm chartv1.12.0-alpha.3App 1.12.0-alpha.3

A Helm chart for KubeVela core

About this chart

KubeVela helm chart

KubeVela is a modern application platform that makes it easier and faster to deliver and manage applications across hybrid, multi-cloud environments. At the mean time, it is highly extensible and programmable, which can adapt to your needs as they grow.

TL;DR

helm repo add kubevela https://kubevela.github.io/charts
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --wait

Prerequisites

  • Kubernetes >= v1.19 && < v1.22

Parameters

KubeVela core parameters

NameDescriptionValue
systemDefinitionNamespaceSystem definition namespace, if unspecified, will use built-in variable .Release.Namespace.nil
applicationRevisionLimitApplication revision limit2
definitionRevisionLimitDefinition revision limit2
concurrentReconcilesconcurrentReconciles is the concurrent reconcile number of the controller4
controllerArgs.reSyncPeriodThe period for resync the applications5m
controllerArgs.defaultAutoRevisionDefault for autoRevision when neither the auto-revision annotation nor the policy template sets itfalse
controllerArgs.defaultApplyPolicyUpdatesDefault for applyPolicyUpdates when neither the apply-policy-updates annotation nor the policy template sets itfalse
controllerArgs.defaultApplyDataChangesDefault for applyDataChanges when neither the apply-data-changes annotation nor the policy template sets itfalse
controllerArgs.allowNamespaceGlobalPoliciesWhether global policies outside vela-system apply to the applications in their namespacefalse
controllerArgs.allowSkipGlobalPoliciesWhether applications may opt out of global policies with the policy.oam.dev/skip-global annotationfalse

KubeVela workflow parameters

NameDescriptionValue
workflow.enableSuspendOnFailureEnable suspend on workflow failurefalse
workflow.enableExternalPackageForDefaultCompilerEnable external package for default cuex compilertrue
workflow.enableExternalPackageWatchForDefaultCompilerEnable external package watch for default cuex compilerfalse
workflow.enableCUEVersionCompatibilityAutomatically rewrite legacy CUE syntax in stored definitions at render timetrue
workflow.cueCompatibilityCacheSizeMaximum number of CUE templates to cache after version compatibility rewriting (0 disables caching)512
workflow.cueUpgradeListConcatEnabledEnable list concat/list arithmetic compatibility rewrite passtrue
workflow.cueUpgradeErrorFieldLabelEnabledEnable error field-label compatibility rewrite passtrue
workflow.cueUpgradeBoolDefaultGuardEnabledEnable bool default-guard hazard compatibility rewrite passfalse
workflow.cueUpgradeGenericDefaultGuardEnabledEnable generic default-guard hazard compatibility rewrite passfalse
workflow.cueUpgradeKeepValidatorsSingletonEnabledEnable keepvalidators singleton concretization compatibility passfalse
workflow.cueUpgradeEvalv3SelfRefGuardEnabledEnable evalv3 self-reference default-guard compatibility rewrite passfalse
workflow.backoff.maxTime.waitStateThe max backoff time of workflow in a wait condition60
workflow.backoff.maxTime.failedStateThe max backoff time of workflow in a failed condition300
workflow.step.errorRetryTimesThe max retry times of a failed workflow step

Deploy vela-core with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vela-core on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartvela-core is pinned at v1.12.0-alpha.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply