doc-exports/docs/asm/umn/asm_01_0048.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

17 lines
2.9 KiB
HTML

<a name="asm_01_0048"></a><a name="asm_01_0048"></a>
<h1 class="topictitle1">Configuring Istio Resources Using YAML</h1>
<div id="body0000001379514653"><p id="asm_01_0048__p16819323557">You can modify all Istio resources (such as VirtualService and DestinationRule) of a service in YAML or JSON format on the <strong id="asm_01_0048__b17594115103815">Istio Resource Management</strong> page. You can also create new Istio resources.</p>
<div class="section" id="asm_01_0048__section126909124113"><h4 class="sectiontitle">Modifying an Existing Istio Resource</h4><ol id="asm_01_0048__ol64160411608"><li id="asm_01_0048__li1641617411906"><span>Log in to the ASM console and click the name of the target service mesh to go to its details page.</span></li><li id="asm_01_0048__li136201456709"><span>In the navigation pane, choose <strong id="asm_01_0048__b211850665843321">Mesh Configuration</strong>. Then click the <strong id="asm_01_0048__b69824789943321">Istio Resource Management</strong> tab.</span></li><li id="asm_01_0048__li99868151614"><span>In the drop-down list, select the Istio resource type (for example, Istio Resources: virtualservices) and the namespace to which the resource belongs.</span></li><li id="asm_01_0048__li12625134614345"><span>Click <strong id="asm_01_0048__b72038383043321">Edit</strong> in the <strong id="asm_01_0048__b154148889643321">Operation</strong> column. In the right pane, modify related configurations and click <strong id="asm_01_0048__b184844462043321">OK</strong>.</span><p><p id="asm_01_0048__p197224743417">The configuration file can be displayed in YAML or JSON format and can be downloaded to the local PC.</p>
</p></li></ol>
</div>
<div class="section" id="asm_01_0048__section1969114121917"><h4 class="sectiontitle">Creating an Istio Resource</h4><ol id="asm_01_0048__ol1234918337357"><li id="asm_01_0048__li33491533103510"><span>Log in to the ASM console and click the name of the target service mesh to go to its details page.</span></li><li id="asm_01_0048__li14349193313359"><span>In the navigation pane, choose <strong id="asm_01_0048__b198816217464">Mesh Configuration</strong>. Then click the <strong id="asm_01_0048__b488110218464">Istio Resource Management</strong> tab.</span></li><li id="asm_01_0048__li17349123316357"><span>Click <strong id="asm_01_0048__b31118013243321">Create</strong> in the upper left corner of the list.</span></li><li id="asm_01_0048__li9349233133511"><span>Edit the file in the right pane, or click <strong id="asm_01_0048__b184815411432">Import File</strong> to upload the edited YAML or JSON file.</span></li><li id="asm_01_0048__li136335783815"><span>Confirm the file content and click <strong id="asm_01_0048__b89007089143321">OK</strong>.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="asm_01_0091.html">Istio Resource Management</a></div>
</div>
</div>