Add an application
You can create and manage applications, such as industry applications, compute resources, and offline services. This topic describes how to add an application.
Prerequisites
An App Catalog has been created. For more information, see Create an App Catalog.
Add an online service application
Log on to the Data Resource Platform console.
In the upper-left corner of the page, click the
icon and select Elastic Computing.In the navigation pane on the left, click Application Management.
On the Application Management page, set Application Type to Online Service (Service).
In the upper-right corner of the Application Management page, click Add Application.
In the Add Application pane, configure the application parameters.
Parameter
Description
Application Type
This is a static field.
Folder
Select an App Catalog.
Application Name
User-defined application name
Description
Enter a description for the application.
Job Type
Select a job type. You can select Compressed Package, Image, or Helm Chart.
Compressed Package: Supports .zip compressed files.
Development Language: Select a development language. You can select JAVA, PYTHON, or NODE.
Language Version: Select a version for the development language.
File: Click Upload to upload the compressed package file.
Image
Registry Address: Select a registry address.
Image Version: Select an image version.
Health Check Method: You can select HTTP, SHELL, or TCP_SOCKET.
HTTP: Enter the service port and the URI of the health check.
SHELL: Enter the service port and the health check command.
TCP_SOCKET: Enter the service port.
Helm Chart: Click Upload to upload the YAML file that encapsulates the Kubernetes native application.
Environment Variable
Configure environment variables.
Resource Group Information
Select whether to enable resource group information. If you enable this feature, you must configure Resource Group Name, Resource Group Type, URI of the request, and URI of the health check.
Click Add Resource Group to configure multiple resource groups.
After you configure the parameters, click OK.
Add an offline task application
Log on to the Data Resource Platform console.
In the upper-left corner of the page, click the
icon and select Elastic Computing.In the navigation pane on the left, click Application Management.
On the Application Management page, set Application Type to Offline Task (Job).
In the upper-right corner of the Application Management page, click Add Application.
In the Add Application pane, configure the application parameters.
Parameter
Description
Application Type
This is a static field.
Contents
Select an App Catalog.
Application Name
Enter a custom application name.
Description
Enter a description for the application.
Job Type
Select a job type. You can select Compressed Package or Image.
Compressed Package: Supports .zip compressed files.
Development Language: Select a development language. You can select JAVA, PYTHON, or NODE.
Language Version: Select a version for the development language.
Script Content: Configure the script content.
File: Click Upload to upload the compressed package file.
NoteIf you create a .zip image package, see Guide to creating a .zip package for an offline task (JAVA) and Guide to creating a .zip package for an offline task (PYTHON).
Image
Registry Address: Select a registry address.
Image Version: Select an image version.
Environment Variable
Configure environment variables.
After you configure the parameters, click OK.
Add a service orchestration application
Log on to the Data Resource Platform console.
In the upper-left corner of the page, click the
icon and select Elastic Computing.In the navigation pane on the left, click Application Management.
On the Application Management page, set Application Type to Orchestration Task (YAML).
In the upper-right corner of the Application Management page, click Add Application.
In the Add Application pane, configure the application parameters.
Parameter
Description
Application Type
This is a static field.
Contents
Select an App Catalog.
Application Name
Enter a custom application name.
Configuration Content
Enter the YAML content for the orchestration service.
NoteThe content of the YAML file is the standard declarative style for Kubernetes resource management and object orchestration and deployment. For more information, see the official Kubernetes documentation.
After you configure the parameters, click OK.
Related operations
Operation | Description |
Edit an application | In the Operations column of the application list, click Edit to edit the application. Note You cannot edit built-in system applications. |
View application O&M | In the Operations column of the application list, click O&M to view the application running records. For more information, see View online service deployment records, View offline task running records, and View orchestration service deployment records. |
View instances | In the Operations column of the application list, click View Instances to view application instances. For more information, see View instance details. |
Delete an application | In the Operations column of the application list, click Delete Current Version to delete the corresponding version of the application. Note
|
Resource group management | For online services, you can assign resource groups to working groups. In the Operations column of the application list, click Resource Group Management. In the Resource Group Management dialog box, assign the working group. |