Alibaba Cloud Container Service for Kubernetes is integrated with the package management tool Helm to help you quickly deploy applications on the cloud. However, Helm charts can be released multiple times and the release version must be managed. Container Service for Kubernetes provides a release function, which allows you to manage the applications released by using Helm in the Container Service console.

Prerequisites

View release details

  1. Log on to the Container Service console.
  2. In the left-side navigation pane, select Container Service - Kubernetes. Then, select Application > Release and click the Helm tab. Select the target cluster from the Clusters drop-down list.
    In the displayed release list, you can view the applications and services released through Helm in the selected cluster.


  3. Find your target release (wordpress-default in this example) and click Details to view the release details.

    You can view such release details as the current version and history version. In this example, the current version is 1 and no history version exists. On the Resource tab page, you can view the resource information of wordpress-default, such as the resource name and the resource type, and view the YAML information.

    Note You can view the running status of the resource in details by clicking the resource name and going to the Kubernetes dashboard page.


  4. Click the Values tab to view the release parameters.


Update a release version

  1. Log on to the Container Service console.
  2. In the left-side navigation pane, select Container Service - Kubernetes. Then, select Application > Release and click the Helm tab. Select the target cluster from the Clusters drop-down list.
    In the displayed release list, you can view the applications and services released through Helm in the selected cluster.


  3. Find your target release (wordpress-default in this example). Click Update and the Update Release dialog box appears.


  4. Modify the parameters and then click Update.


    On the release list page, you can see that the current version changes to 2. To roll back to version 1, click Details and in the History Version area, click Rollback.


Delete a release

  1. Log on to the Container Service console.
  2. In the left-side navigation pane, select Container Service - Kubernetes. Then, select Application > Release and click the Helm tab. Select the target cluster from the Clusters drop-down list.
    In the displayed release list, you can view the applications and services released through Helm in the selected cluster.


  3. Find your target release (wordpress-default in this example). Click Delete and the Delete dialog box appears.


  4. Select the Purge check box if you want to clear the release records, and then click OK. After you delete a release, the related resources such as the services and deployments are deleted too.