Service management

<p>1.1 Create a service</p> <p>1.&nbsp;Log in Ping An cloud management console, enter 【CaaS】 -&gt; 【Service Management】 from the navigation menu on the left</p> <p>Click &quot;+ Create&quot; in the upper right corner of the service list</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501174852-10a9c2ab9c94.png" style="height:216px; width:860px" /></p> <p>2. Set the basic service information.</p> <p>Run a cluster: select the cluster that the service will run on. Running a cluster requires choosing a running cluster that has available hosts.</p> <p>Service name: The service name to create should have no more than 30 characters, consisting of lowercase letters, numbers and -, beginning with lowercase letters and ending with lowercase letters or numbers.</p> <p>Service description: The information about service creation will be displayed on the service information page.</p> <p style="text-align:justify">Number of instances: It refers to the number of running instances of the service created. The instances are scheduled to run on each node of the cluster. We guarantee that the service runs the specified number of instances correctly.</p> <p style="text-align:justify"><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501174956-1fc7a1329b9d.png" style="height:479px; width:860px" /></p> <p>3. Set a data volume.</p> <p>To specify a container to mount to the specified path, click &quot;Add Data Volume&quot;.</p> <p>Type: support use of local hard disks, NFS disks, configuration files as data volumes. For more details, please refer to the CaaS data volume instructions.</p> <p>Name: the name of the data volume.</p> <p>Path: specify the host path to mount.</p> <p style="text-align:justify"><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501175601-11349dbd9d86.png" style="height:129px; width:860px" /></p> <p>4. Set up the container to run.</p> <p>Name: the name of the container to create, no more than 30 characters</p> <p>Image: click [Select Image] to create services in the official Docker image, the official CAAS image, and the user&#39;s public image and private image.&nbsp;</p> <p>Version: the default version of CaaS; if you need to use another version of the image, please click the version display box to choose.</p> <p style="text-align:justify"><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501175721-1cd287e49d01.png" style="height:484px; width:860px" /></p> <p style="text-align:justify"><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501175816-118f3c6f98fd.png" style="height:509px; width:860px" /></p> <p>5. Access control settings.</p> <p>Service access mode: The service access mode determines the service&#39;s network properties. Services with different access modes provide different network capabilities. Currently there are intra-cluster access, intra-VPC access and no access.</p> <p>Intra-cluster access: access via service IP + service port</p> <p>intra-VPC access: access via node IP + host port</p> <p>No access: not opening the port, generally used to perform consistent tasks</p> <p style="text-align:justify"><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501175920-140c68409ecb.png" style="height:549px; width:860px" /></p> <p>6. Click &quot;Create&quot; to complete creation.</p> <p>1.2&nbsp; Service expansion and shrinkage</p> <p>1.&nbsp;Click &quot;Service Management&quot; in the navigation bar on the left of the container service console to enter the service list and click &quot;Expand and Shrink&quot;.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501180018-1d40cd0e943f.png" style="height:225px; width:860px" /></p> <p>2. Use the scroll bar to adjust the number of target instances and click &quot;OK&quot;.</p> <p>&nbsp;<img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501180101-152529d99d13.png" style="height:294px; width:860px" /></p> <p>1.3 Delete a service</p> <p>1.&nbsp;Click &quot;Service Management&quot; in the navigation bar on the left of the container service console to enter the service list and click &quot;Delete&quot;.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501180136-1fd3e098921d.png" style="height:225px; width:860px" /></p> <p>2. Click &quot;Delete&quot; and click &quot;Confirm&quot; in the pop-up to complete deletion.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20180501180227-11d21a359669.png" style="height:225px; width:860px" /></p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products