Skip to content

Commit

Permalink
update gray release guide
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Mar 21, 2022
1 parent 0223121 commit 25c3230
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ <h4 class="modal-title">

<div class="form-group" ng-show="!branch.editingRuleItem.ApplyToAllInstances">
<label class="control-label col-md-3 text-right">
<apollorequiredfield></apollorequiredfield>
{{'Component.GrayscalePublishRule.IP' | translate }}
</label>
<div class="col-md-9">
Expand Down Expand Up @@ -105,7 +104,6 @@ <h4 class="modal-title">

<div class="form-group" ng-show="!branch.editingRuleItem.ApplyToAllInstances">
<label class="control-label col-md-3 text-right">
<apollorequiredfield></apollorequiredfield>
{{'Component.GrayscalePublishRule.Label' | translate }}
</label>
<div class="col-md-9">
Expand Down
Binary file modified doc/images/gray-release/gray-release-ip-selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/gray-release/manual-input-gray-release-ip-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/gray-release/manual-input-gray-release-ip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/gray-release/manual-input-gray-release-label.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/gray-release/manual-input-gray-release-label2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/gray-release/select-gray-release-ip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/zh/usage/apollo-user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ Apollo目前提供Java客户端,具体信息请点击[Java客户端使用文

![gray-release-ip-selected](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/doc/images/gray-release/gray-release-ip-selected.png)

除了IP维度以外,从2.0.0版本开始还支持通过label来标识灰度的实例列表,适用于IP不固定的场景如`Kubernetes`

手动输入想要设置的label标签,输入完成后点击点击添加按钮。

![manual-input-gray-release-label](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/doc/images/gray-release/manual-input-gray-release-label.png)
Expand All @@ -353,6 +355,10 @@ Apollo目前提供Java客户端,具体信息请点击[Java客户端使用文

![gray-release-rule-saved](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/doc/images/gray-release/gray-release-rule-saved.png)

上述规则配置后,灰度配置会对AppId为`100004458`,IP为`10.32.21.22`或者`Label`标记为`myLabel``appLabel`的实例生效。

> 关于`Label`如何标记,可以参考[ApolloLabel](zh/usage/java-sdk-user-guide?id=_1247-apollolabel)的配置说明。
如果下拉框中没找到需要的IP,说明机器还没从Apollo取过配置,可以点击手动输入IP来输入,输入完后点击添加按钮

![manual-input-gray-release-ip](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/doc/images/gray-release/manual-input-gray-release-ip.png)
Expand Down

0 comments on commit 25c3230

Please sign in to comment.