forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
60 lines
9.3 KiB
HTML
60 lines
9.3 KiB
HTML
<a name="EN-US_TOPIC_0000001943974101"></a><a name="EN-US_TOPIC_0000001943974101"></a>
|
|
|
|
<h1 class="topictitle1">Upgrading a Service</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p79521124145616">For a deployed service, you can modify its basic information to match service changes and change the AI application version to upgrade it.</p>
|
|
<p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p8994737182016">You can modify the basic information about a service in either of the following ways:</p>
|
|
<p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p12994193742020"><a href="#EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section6987155265816">Method 1: Modify Service Information on the Service Management Page</a></p>
|
|
<p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p1499493732014"><a href="#EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section12604201617210">Method 2: Modify Service Information on the Service Details Page</a></p>
|
|
<div class="section" id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section46205855912"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p19268718507">The service has been deployed. The service in the <strong id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_b24681712104812">Deploying</strong> state cannot be upgraded by modifying the service information.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section1350744317273"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_ul124327521641"><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li8432125215411">Improper upgrade operations will interrupt service running during the upgrade. Therefore, exercise caution when performing this operation.</li><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li243215527411">ModelArts supports hitless rolling upgrade of real-time services in some scenarios. Before upgrade, prepare for it and confirm the prerequisites.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_table10737103352" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Scenarios for hitless rolling upgrade</caption><thead align="left"><tr id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_row177381335519"><th align="left" class="cellrowborder" valign="top" width="30.000000000000004%" id="mcps1.3.6.2.2.1.2.4.1.1"><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p1673815318515">Meta Model Source for Creating an AI Application</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="35%" id="mcps1.3.6.2.2.1.2.4.1.2"><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p147381312514">Using a Public Resource Pool</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="35%" id="mcps1.3.6.2.2.1.2.4.1.3"><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p77381131159">Using a Dedicated Resource Pool</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_row07381832517"><td class="cellrowborder" valign="top" width="30.000000000000004%" headers="mcps1.3.6.2.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p197381235511">Training job</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.6.2.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p1873843459">Not supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.6.2.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p17381536511">Not supported</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_row27381931554"><td class="cellrowborder" valign="top" width="30.000000000000004%" headers="mcps1.3.6.2.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p11738237518">Container image</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.6.2.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p473893751">Not supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.6.2.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p773823252">Supported. The custom image for creating an AI application must meet <a href="modelarts_23_0219.html">Custom Image Specifications for Creating AI Applications</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_row178618342612"><td class="cellrowborder" valign="top" width="30.000000000000004%" headers="mcps1.3.6.2.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p17861133418614">OBS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.6.2.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p1786115341064">Not supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.6.2.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p10861183415612">Not supported</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section6987155265816"><a name="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section6987155265816"></a><a name="en-us_topic_0172547189_section6987155265816"></a><h4 class="sectiontitle">Method 1: Modify Service Information on the Service Management Page</h4><ol id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_ol1836510129559"><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li1584153519620">Log in to the ModelArts management console and choose <strong id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_b153812591621">Service Deployment</strong> from the left navigation pane. Go to the service management page of the target service.</li><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li75067272497">In the service list, click <span class="uicontrol" id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_uicontrol144081061046"><b>Modify</b></span> in the <strong id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_b1390611487410">Operation</strong> column of the target service, modify basic service information, and submit the modification task as prompted.<p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p1407643111011">When some parameters are modified, the system automatically restarts the service for the modification to take effect. When you submit a service modification task, if a restart is required, a dialog box will be displayed.</p>
|
|
<ul id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_ul208820275222"><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li88827273220">For details about the real-time service parameters, see <a href="inference-modelarts-0018.html">Deploying as a Real-Time Service</a>.</li><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li14864830112213">For details about the batch service parameters, see <a href="inference-modelarts-0040.html">Deploying as a Batch Service</a>.</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section12604201617210"><a name="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_section12604201617210"></a><a name="en-us_topic_0172547189_section12604201617210"></a><h4 class="sectiontitle">Method 2: Modify Service Information on the Service Details Page</h4><ol id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_ol146469281213"><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li664611284210">Log in to the ModelArts management console and choose <strong id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_b19194127161214">Service Deployment</strong> from the left navigation pane. Go to the service management page of the target service.</li><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li6692153418235">Click the name of the target service. The service details page is displayed.</li><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li1079524182412">Click <span class="parmname" id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_parmname172389351138"><b>Modify</b></span> in the upper right corner of the page, modify the service details, and submit the modification task as prompted.<p id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_p1431175301020">When some parameters are modified, the system automatically restarts the service for the modification to take effect. When you submit a service modification task, if a restart is required, a dialog box will be displayed.</p>
|
|
<ul id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_ul84758293019"><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li747515263017">For details about the real-time service parameters, see <a href="inference-modelarts-0018.html">Deploying as a Real-Time Service</a>.</li><li id="EN-US_TOPIC_0000001943974101__en-us_topic_0172547189_li44751623303">For details about the batch service parameters, see <a href="inference-modelarts-0040.html">Deploying as a Batch Service</a>.</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_77_0149.html">Inference Deployment</a></div>
|
|
</div>
|
|
</div>
|
|
|