Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lain 支持灰度发布 #237

Open
supermeng opened this issue Mar 12, 2018 · 0 comments
Open

lain 支持灰度发布 #237

supermeng opened this issue Mar 12, 2018 · 0 comments

Comments

@supermeng
Copy link
Member

基于https://github.com/CNSRE/ABTestingGateway 实现基本的灰度发布策略,并基于此二次开发动态增删查改策略的服务,用户可以自定义灰度策略。
灰度发布流程。

  1. 用户在ABTestingGateway中添加自己灰度策略
  2. 用户根据自己的灰度策略在应用中生成对应的名单,并将数据存放在策略位置,如url,cookie,header,ip .etc
  3. 在console中填写灰度发布参数(divtype, divdata, instances .etc)进行灰度发布
  4. deployd根据灰度发布参数生成对应的灰度容器,并将数据写入etcd
  5. webrouter根据etcd数据动态更改路由配置
  6. 停止灰度,则删除对应的容器,升级则将应用升级后删除灰度容器
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant