Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢捷峰
discovery
Commits
14218307
Commit
14218307
authored
Aug 07, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改介绍
parent
7fbc0090
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
README.md
+8
-8
No files found.
README.md
View file @
14218307
...
@@ -133,7 +133,7 @@ Nepxion Discovery是一款对Spring Cloud服务注册发现和负载均衡的增
...
@@ -133,7 +133,7 @@ Nepxion Discovery是一款对Spring Cloud服务注册发现和负载均衡的增
从上图,可以分析出两种基于Zuul的灰度发布方案
从上图,可以分析出两种基于Zuul的灰度发布方案
基于
Zuul
版本切换的灰度发布
基于
网关
版本切换的灰度发布
-
灰度发布前
-
灰度发布前
-
假设当前生产环境,调用路径为网关(V1.0)->服务A(V1.0)->服务B(V1.0)
-
假设当前生产环境,调用路径为网关(V1.0)->服务A(V1.0)->服务B(V1.0)
-
运维将发布新的生产环境,部署新服务集群,服务A(V1.1),服务B(V1.1)
-
运维将发布新的生产环境,部署新服务集群,服务A(V1.1),服务B(V1.1)
...
@@ -147,16 +147,16 @@ Nepxion Discovery是一款对Spring Cloud服务注册发现和负载均衡的增
...
@@ -147,16 +147,16 @@ Nepxion Discovery是一款对Spring Cloud服务注册发现和负载均衡的增
-
下线服务A(V1.0),服务B(V1.0),灰度成功
-
下线服务A(V1.0),服务B(V1.0),灰度成功
-
灰度网关(V1.1)可以不用下线,留作下次版本上线再次灰度发布
-
灰度网关(V1.1)可以不用下线,留作下次版本上线再次灰度发布
基于
Zuul
版本权重的灰度发布
基于
网关
版本权重的灰度发布
-
灰度发布前
-
灰度发布前
-
当前Zuul为V1.0
版本
-
网关不需要配置
版本
-
V1.0版本的Zuul承担老版本100%的流量
-
网关->服务A(V1.0),网关配给服务A(V1.0)的100%权重(流量)
-
灰度发布中
-
灰度发布中
-
新增ZuulV1.1版本
-
上线服务A(V1.1)
-
V1.0版本的Zuul调拨10%流量给V1.1的Zuul
-
在网关层调拨10%权重(流量)给A(V1.1),给A(V1.0)的权重(流量)减少到90%
-
通过观测确认灰度有效,把
V1.0版本的版本逐渐切换到V1.1上
-
通过观测确认灰度有效,把
A(V1.0)的权重(流量)全部切换到A(V1.1)
-
灰度发布后
-
灰度发布后
-
下线
V1.0版本的Zuul集群
-
下线
服务A(V1.0)
## 兼容
## 兼容
版本兼容情况
版本兼容情况
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment