Skip to content
Projects

alibaba/virtual-environment

View on GitHub

About

Route isolation with service sharing https://alibaba.github.io/virtual-environment/#/zh-cn/

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

KtEnv (Virtual Environment Operator)

Isolate kubernetes pod communication into virtual groups according to pod label, with route fallback support.

diagram-en-us.jpg

Check ☞document☜ for more information.

中文介绍

Instruction

This project inspired by the "project environment" practice widely used in Alibaba Group, witch allow developers create virtual testing environment cheaply and quickly by reusing many service instances from another testing environment.

           +----------+   +----------+   +----------+
ParentEnv  | ServiceA |   | ServiceB |   | ServiceC |
           +----------+   +-^------+-+   +----------+
                            |      |
           +-----------+    |      |    +-----------+
SubEnv    -> ServiceA' +----+      +----> ServiceC' |
           +-----------+                +-----------+

This is a simple example of 2 virtual environments. A ParentEnv contains instances of all the 3 services, while a SubEnv inherited from ParentEnv only contains instance of ServiceA and ServiceC (record as ServiceA' and ServiceC').

The arrow shows a call sequence "ServiceA->ServiceB->ServiceC", when the request comes from instance ServiceA', it should firstly fallback to hit ServiceB in the ParentEnv, and finally turn to ServiceC' in SubEnv.

Support

Contact us with DingTalk:

dingtalk-group-en-us.jpg

Explore related projects

Loading…