KubeVela v1.9.0 release notes
Released: 2023-06-15 · GitHub release · Full changelog · Upgrade guide
Summary
v1.9 removes the legacy APIs from KubeVela before v1.0, moves the image, chart and addon
registries to GitHub, and adds pause reconcile, multiple policies of the same type, a resource
update policy and multicluster vela adopt. It supports Kubernetes v1.26.
Compatibility
| Component | Version |
|---|---|
| Kubernetes | Tested with v1.26 |
| Go | 1.19 |
| CUE | v0.5.0 |
| Kubernetes client libraries | k8s.io/client-go v0.26.3, controller-runtime v0.14.6 |
| Upgrade from | v1.8.x; see the upgrade guide |
Breaking changes
- Legacy code removal. You can no longer use EnvBinding, HealthScope, ScopeDefinition and
other objects from KubeVela before v1.0, such as ApplicationConfiguration,
v1alpha2Component and the legacy Rollout (#6041, #6068). - Registry migrated to GitHub.
hub.kubevela.net,charts.kubevela.netandaddons.kubevela.netwill not be served in the future. Usedocker.ioorghcr.io/kubevelafor images,kubevela.github.io/chartsfor Helm charts andkubevela.github.io/catalog/officialfor addons; the upgrade guide has the commands to update your addon registry. - Controller flags renamed or removed.
--pprof-addris now--profiling-addr, and--disable-capsis removed. Update any custom controller arguments. ApplyResourceByUpdateis renamedApplyResourceByReplace. Update--feature-gatesif you set it.
CRD changes
- The
healthscopes,scopedefinitionsandstandard.oam.devrolloutsCRDs are removed from the chart. - The
applications,applicationrevisions,componentdefinitions,definitionrevisionsandtraitdefinitionsschemas drop the legacy fields.
Apply the CRDs before helm upgrade; see the upgrade guide for the commands.
Controller flags and feature gates
| Name | Change | Default |
|---|---|---|
--profiling-addr | New, replaces --pprof-addr | empty (off) |
--pprof-addr, --disable-caps | Removed | |
ApplyResourceByReplace | Renamed from ApplyResourceByUpdate | false |
LegacyComponentRevision | Removed |
Details are in Controller Flags and Feature Gates.
Helm chart changes
| Value | Change | Default |
|---|---|---|
readinessProbe, livenessProbe | New: configure the controller probes (#6044) | failureThreshold: 3 |
OAMSpecVer, disableCaps, dependCheckWait | Removed | |
featureGates.enableLegacyComponentRevision | Removed |
CLI changes
vela cuex evalevaluates local CUE files with the CueX engine.vela def gen-cueandvela def gen-docgenerate CUE and docs for providers.vela adoptworks with multicluster resources, andvela cluster joincan overwrite an existing cluster's kubeconfig.
New features
- Pause reconcile: label an Application
controller.core.oam.dev/pause: "true"to stop reconciling it. - Same component name across Applications.
check-metricsworkflow step for Prometheus metrics.- Mode for step groups: DAG or StepByStep.
- ProxyURL for multicluster.
- Multiple policies of the same type, such as
apply-onceorgarbage-collect. - CueX validation for config templates, and multiple
gatewaytraits on a component. - Configurable application revision limit per Application, through a policy.
- Resource update policy:
replace,recreateorpatch. - Force resource location with the
app.oam.dev/clusterlabel. - CRDs not required on the hub for delivering CRD resources to managed clusters.
- Custom cascading GC policy.
- Version ranges for addon dependencies.
Bug fixes
- Application GC is no longer blocked by ApplicationRevision GC.
vela addon registry addfollows redirects, and addon status lists the right registry.vela def vetworks without Kubernetes.component-pod-viewshows the pod IP, host IP and node name.
Dependencies
| Dependency | From | To |
|---|---|---|
| CUE | v0.5.0-beta.5 | v0.5.0 (#5869) |
k8s.io/* | v0.25.3 | v0.26.3 (#5758) |
controller-runtime | v0.12.3 | v0.14.6 |
| Ginkgo (tests) | v1 | v2 |