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
e1e3eee2
Commit
e1e3eee2
authored
Jul 19, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改介绍
parent
c8dac02e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
README.md
+6
-3
No files found.
README.md
View file @
e1e3eee2
...
...
@@ -436,13 +436,14 @@ public class MyConfigAdapter extends ConfigAdapter {

-
在弹出的界面,在灰度版本的文本框输入1.1,然后点击“更新灰度版本”按钮,那么Zuul服务的版本从1.0切换到1.1,该节点会呈现黄色闪烁,表示正在执行版本灰度

-
重复“执行灰度路由”的步骤,发现访问的路径改变了,目的达到。通过“执行灰度发布”界面,点击“清除灰度版本”按钮,回滚到以前访问路径,这里不表述了

-
重复“执行灰度路由”的步骤,发现访问的路径改变了,目的达到。通过“执行灰度发布”界面,点击“清除灰度版本”按钮,回滚到以前访问路径,这里不表述了

进行规则改变的灰度策略
-
在主界面上,选择“example-discovery-springcloud-example-b”集群下的服务集群,右键“执行灰度发布”,批量改变B1和B2服务的规则
!
[
Alt text
](
https://github.com/Nepxion/Docs/blob/master/discovery-plugin-doc/Console7
.jpg
)
-
在弹出的界面,在灰度文本框输入如下新规则,然后点击“更新灰度规则”按钮,那么改变B1和B2服务的规则进行切换,两个节点会呈现青色闪烁,表示正在执行规则灰度

-
在弹出的界面,在灰度文本框输入如下新规则,然后点击“更新灰度规则”按钮,那么改变B1和B2服务的规则进行切换,两个节点会呈现青色闪烁,表示正在执行规则灰度
新XML规则
```
xml
<?xml version="1.0" encoding="UTF-8"?>
...
...
@@ -454,6 +455,8 @@ public class MyConfigAdapter extends ConfigAdapter {
</discovery>
</rule>
```


#### 基于Rest方式的多版本灰度访问控制
基于服务的操作过程和效果
...
...
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