Install products

更新时间:
复制 MD 格式

Install a product template to deploy a standard Helm application as Kubernetes workloads.

Prerequisites

You have uploaded a product template or added an external source.

Install a private template

  1. Log on to the LHC console.

  2. In the navigation pane on the left, choose App Store > Product Templates.

  3. Click Private Platform > Private Templates.

  4. Click a template card to open its details page. In the upper-right corner, click Install Product.

  5. In the dialog box that appears, set the following parameters.

    • Release Name: Enter a custom name for the product release. The name can contain lowercase letters, digits, and hyphens (-). It must start with a lowercase letter and be no more than 32 characters long.

    • Cluster: Select a cluster.

    • Namespace: Select a namespace.

    • Version: Select a version of the template.

    • Description: Optional. The description can be up to 100 characters long.

  6. Click Submit. You are redirected to the Product Installation Details page.

  7. Click Start/Reinstall, and then click OK in the dialog box that appears.

    After the installation is complete, you can click the workload or application service link in the release details to view the corresponding details page.

    Note
    • If the installation fails, click Release Error Log to view the error log and troubleshoot the issue.

    • To abort the installation, click Cancel Installation, and then click OK in the dialog box that appears.

Publishing a public template

  1. Log on to the LHC console.

  2. In the navigation pane on the left, choose App Store > Product Templates.

  3. Click the Public Platform tab.

  4. Click a public template card to view the template details.

  5. In the upper-right corner, click Install Product. In the dialog box that appears, set the following parameters.

    • Release Name: Enter a custom name for the product release. The name can contain lowercase letters, digits, and hyphens (-). It must start with a lowercase letter and be no more than 32 characters long.

    • Namespace: Select a namespace.

    • Version: Select a version of the template.

    • Description: Optional. The description can be up to 100 characters long.

  6. Click Submit. You are redirected to the Product Installation Details page.

  7. Click Start/Reinstall, and then click OK in the dialog box that appears.

    After the installation is complete, you can click the workload or application service link in the release details to view the corresponding details page.

    Note
    • If the installation fails, click Release Error Log to view the error log and troubleshoot the issue.

    • To abort the installation, click Cancel Installation, and then click OK in the dialog box that appears.

More operations

After you install the template, you can perform additional operations on the Product Installation Details page.

The following table describes the available operations.

Operation

Scenarios

Procedure

Update template version

Before or after you install a product template, you can quickly update the template version.

  1. Click Update Version.

  2. In the dialog box that appears, select the version that you want to update to, and then click OK.

Delete instance

If you no longer need an application, you can delete the instance. When you delete an instance, all its backend resources are released.

Click Delete Instance > OK.

Important

This operation cannot be undone. Proceed with caution.

Roll back to a historical snapshot

You can roll back an application to a previous version.

  1. Click the History tab.

  2. In the Actions column of the target version, click Rollback, and then click OK.

Note
  • You can roll back only to historical versions that were successfully installed.

  • You can use the one-click rollback feature to revert an application to a previous version. By default, the 10 most recent historical versions are retained.