KubeVela Releases 1.1: Reaching New Peaks in Cloud-Native Continuous Delivery

Overview

Introduction

Multi-Environment, Multi-Cluster Rollout

policies:
- name: example-multi-env-policy
type: env-binding
properties:
envs:
- name: staging
placement: # selecting the cluster to deploy to
clusterSelector:
name: cluster-staging
selector: # selecting which component to use
components:
- hello-world-server
- name: prod
placement:
clusterSelector:
name: cluster-prod
patch: # overlay patch on above components
components:
- name: hello-world-server
type: webservice
traits:
- type: scaler
properties:
replicas: 3

Canary Rollout, Approval, Notification

vela addon enable istio
traits:
- type: rollout
properties:
targetSize: 100
rolloutBatches:
- replicas: 10
- replicas: 90
workflow:
steps:
- name: rollout-1st-batch
type: canary-rollout
properties:
# just upgrade first batch of component
batchPartition: 0
traffic:
weightedTargets:
- revision: reviews-v1
weight: 90 # 90% to the old version
- revision: reviews-v2
weight: 10 # 10% to the new version
- name: approval-gate
type: suspend
- name: rollout-rest
type: canary-rollout
properties:
batchPartition: 1
traffic:
weightedTargets:
- revision: reviews-v2
weight: 100 # 100% shift to new version

- name: send-msg
type: webhook-notification
properties:
slack:
url: <your slack webhook url>
text: "rollout finished"

What Comes Next

Join the Community

References

  1. DORA full report: https://cloud.google.com/blog/products/devops-sre/announcing-dora-2021-accelerate-state-of-devops-report
  2. KubeVela Addon: https://github.com/oam-dev/catalog/tree/master/addons/example
  3. Cooperative Delivery Charter: https://github.com/cncf/tag-app-delivery/blob/master/cooperative-delivery-wg/charter.md

--

--

--

First-hand & in-depth information about Alibaba's tech innovation in Artificial Intelligence, Big Data & Computer Engineering. Follow us on Facebook!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flow Velocity — How Fast are We Delivering Business Value Through Software Delivery?

A Tussle of the Muscle While Selecting HRMS: On-Cloud vs. On-Premise Setup

Multi-Provider Serverless or: How I Learned to Stop Worrying and Love the Cloud

Dev Protocol Geyser Launches

CS371p Spring 2022: Vincent Huynh

Unity3D : Adventures in creating huge outdoor areas (terrains) — Part 5: It’s NOT the trees, it IS…

How Can You Improve the Beauty of Java Coding?

Node.js Backend Development: Features, Benefits, Prices

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Tech

Alibaba Tech

First-hand & in-depth information about Alibaba's tech innovation in Artificial Intelligence, Big Data & Computer Engineering. Follow us on Facebook!

More from Medium

CYBAVO Integrates Scorechain Solution to Meet Heightened AML Regulatory Requirements

Novon: Docking into Xord

Producer Shozo Ichiyama Talks About Film Production

What Users Want: High-Confidence Consumer Features at Ethos