alibaba/virtual-environment
About
Route isolation with service sharing https://alibaba.github.io/virtual-environment/#/zh-cn/
Systems & InfrastructureMeasured 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
OriginalKtEnv (Virtual Environment Operator)
Isolate kubernetes pod communication into virtual groups according to pod label, with route fallback support.

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:

Explore related projects
Loading…