You can use multiple methods to create orchestration templates in the Container Service console.

Procedure

  1. Log on to the Container Service console.
  2. In the left-side navigation pane, choose Marketplace > Orchestration Templates. Click Create in the upper-right corner.
  3. In the dialog box that appears, configure the orchestration template, and then click Save. This example demonstrates how to create a template of a Tomcat application that contains a Deployment and a Service.
    • Name: The template name.
    • Description: The description of the template. This parameter is optional.
    • Template: Configure the template based on YAML syntax. The template can contain multiple resource objects that are separated by ---.
  4. After the template is created, you are redirected to the Templates page. You can view the template on the My Templates tab.
  5. Optional:You can also choose Applications > Deployments in the left-side navigation pane, and click Create from Template to go to the Create from Template page. You can modify a built-in orchestration template provided by Container Service and save it as your custom template.
    1. Select a built-in template and click Save Template.
    2. In the dialog box that appears, specify the name, description, and content. Click Save to save the template.
      Note You can modify the built-in template based on your needs.
    3. In the left-side navigation pane, choose Marketplace > Orchestration Templates. You can view the newly created template on the My Templates tab.

What to do next

You can use the orchestration templates on the My Templates tab to create applications quickly.