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

Iteration: The Antithesis of Perfection

5 Don’t of JWT

Powerful 3D Experiences on Hololens using 3D Streaming Toolkit

Tables & Collections with type-safe declarative approach

Java streams 32. Collect 8. Collectors.toConcurrentMap() collector

Multiple Kubeconfigs? No problem!

A Tutorial on Modern Multithreading and Concurrency in C++

Google Sheets as a Database Service for Web Applications

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

Vulnerable Infrastructure in the Cloud

Data on Kubernetes Community Is Coming to London for More Hands-On

WolfDAOxOceanProtocol paving the way for Community Driven DAOs

An Open Invitation to Climate Philanthropy