doc-exports/docs/asm/umn/asm_qs_0009.html
Dong, Qiu Jian ec0b45029f ASM UMN initial version -20240425
Reviewed-by: Kovács, Zoltán <zkovacs@t-systems.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2024-09-18 09:02:28 +00:00

23 lines
4.6 KiB
HTML

<a name="asm_qs_0009"></a><a name="asm_qs_0009"></a>
<h1 class="topictitle1">Grayscale Release</h1>
<div id="body0000001128141168"><div class="section" id="asm_qs_0009__section19695144133610"><h4 class="sectiontitle">Creating a Grayscale Release Task</h4><ol id="asm_qs_0009__ol149751331183616"><li id="asm_qs_0009__li159761531203610"><span>Log in to the ASM console and click <span><img id="asm_qs_0009__image7610232192619" src="en-us_image_0000001247200741.png"></span> in the <strong id="asm_qs_0009__b659292673102423">asmtest</strong> mesh.</span></li><li id="asm_qs_0009__li2848113315361"><span>Set <strong id="asm_qs_0009__b72951212142211">Task Name</strong> to <strong id="asm_qs_0009__b3449124971917">test</strong> and select <strong id="asm_qs_0009__b10449184951912">servicetest</strong> created in <a href="asm_qs_0008.html#asm_qs_0008__section496120305565">Creating a Workload and a Service</a> for <strong id="asm_qs_0009__b20373155416222">Service</strong>. (<strong id="asm_qs_0009__b796413445259">Workload</strong> is automatically set to <strong id="asm_qs_0009__b245044920191">deptest</strong>.) Configure other basic information and grayscale version information and click <strong id="asm_qs_0009__b1845194931915">Release</strong>.</span><p><div class="note" id="asm_qs_0009__note582143719525"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="asm_qs_0009__p1082123710527">If you cannot select <strong id="asm_qs_0009__b422765064102423">servicetest</strong>, check whether the service is normal. If the service is abnormal, fix the issues and try again.</p>
</div></div>
</p></li><li id="asm_qs_0009__li564093925012"><span>Click <strong id="asm_qs_0009__b1829344775102423">Configure Traffic Policy</strong>, set the policy type to <strong id="asm_qs_0009__b1333033856102423">Based on traffic ratio</strong>, and set the <strong id="asm_qs_0009__b1387667987102423">traffic ratio</strong> of v2 to 80%.</span></li><li id="asm_qs_0009__li2579183685810"><span>Click <strong id="asm_qs_0009__b1794530925102423">Deliver Policy</strong>.</span><p><p id="asm_qs_0009__p127481361657">It takes several seconds for the traffic policy to take effect. You can view the running of the grayscale version on the <strong id="asm_qs_0009__b490363542102423">View Status</strong> page.</p>
</p></li></ol>
</div>
<div class="section" id="asm_qs_0009__section189903401814"><h4 class="sectiontitle">Switching All Traffic to the Grayscale Version</h4><p id="asm_qs_0009__p17479105113810">Check whether the number of resources in v2 matches that in v1. After confirming that v2 is able to serve all the traffic of v1, switch all the traffic from v1 to v2.</p>
<ol id="asm_qs_0009__ol016123612107"><li id="asm_qs_0009__li121663611016"><span>On the <strong id="asm_qs_0009__b688208980102423">Grayscale Release</strong> page, click <strong id="asm_qs_0009__b2812815102423">test</strong> and then click <strong id="asm_qs_0009__b391308395102423">Monitor and Manage Traffic</strong>.</span></li><li id="asm_qs_0009__li1859514384107"><span>Click <strong id="asm_qs_0009__b1462610249102423">Take Over All Traffic</strong> next to v2.</span></li><li id="asm_qs_0009__li14429851121116"><span>Click <strong id="asm_qs_0009__b1681167000102423">OK</strong>. A message is displayed in the upper right corner, indicating that the traffic is taken over successfully.</span></li></ol>
</div>
<div class="section" id="asm_qs_0009__section0206203518136"><h4 class="sectiontitle">Bringing the Original Version Offline</h4><p id="asm_qs_0009__p173502444139">After v2 takes over all the traffic from v1, bring v1 offline to release its resources.</p>
<ol id="asm_qs_0009__ol101118471418"><li id="asm_qs_0009__li911113412143"><span>On the <strong id="asm_qs_0009__b521601937102423">Grayscale Release</strong> page, click <strong id="asm_qs_0009__b630500267102423">test</strong> and then click <strong id="asm_qs_0009__b1060876267102423">Monitor and Manage Traffic</strong>.</span></li><li id="asm_qs_0009__li1311118471410"><span>On the displayed page, when the traffic percentage of v2 is <strong id="asm_qs_0009__b10287102552518">100%</strong>, v2 has taken over all traffic of v1. Click <strong id="asm_qs_0009__b542772994102423">Terminate Task</strong>.</span></li><li id="asm_qs_0009__li311113481413"><span>Click <strong id="asm_qs_0009__b1253724446102423">OK</strong>.</span><p><p id="asm_qs_0009__p2177110101415">The v1 version is brought offline and the test grayscale task is deleted.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="asm_qs_0006.html">Configurable Grayscale Release</a></div>
</div>
</div>