Container Service for Kubernetes (ACK) integrates the package manager Helm to help you deploy applications to the cloud in an efficient manner. You can install a chart multiple times in a Kubernetes cluster. Each time you install a chart, a release is created. Therefore, the management of release versions is required. To meet this requirement, ACK provides the release feature that allows you to manage applications that are deployed by using Helm in the ACK console.

Prerequisites

View release details

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane of the details page, choose Applications > Helm.
  5. You can view the details of a release. In this example, find tf-model and click View Details in the Actions column. The details page of tf-model appears.
    You can view information about tf-model, such as the current version and history versions. In this example, the current version is 1 and none history version exists. You can also view information about the resources of tf-model, such as the names, types, and YAML files.
    Note To view the status of a resource, click the name of the resource to go to the Kubernetes dashboard page.
    The details page of tf-model
  6. Click the Parameters tab. You can view the parameters of the Helm chart.
    Set parameters

Update a release

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane, click Releases.
  5. Click the Helm tab. The list of releases appears.
  6. You can update a release. In this example, find tf-model and click Update in the Actions column. The Update Release dialog box appears.
    Update a release
  7. In the Update Release dialog box, modify the parameters based on your requirements and click Update.
    Modify parameters
    On the details page of tf-model, the current version of tf-model changes to 2. In the History Version section, you can find the history version 1. To roll back to version 1, click Roll Back. Roll back a release

Delete a release

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane, click Releases.
  5. Click the Helm tab. The list of releases appears.
  6. You can delete a release. In this example, find tf-model release and click Delete in the Actions column.
  7. In the Delete dialog box, select Clear Release Records and click OK. After you the release is deleted, the resources of the release are deleted, including the Services and Deployments.
    Delete a release
    Note If you clear Clear Release Records, the deletion of tf-model does not take effect. You can still find tf-model in the release list. If you create another release named tf-model, a release name conflict occurs.