The Alibaba Cloud Kubernetes service enriches the cloud marketplace, in which the app catalog and service catalog functions integrate with the Helm package management tool and allow you to build the application in the cloud quickly. A chart can be released multiple times, which requires you to manage the release versions. Therefore, the Alibaba Cloud Kubernetes service provides the release function, which allows you to manage the applications released by using Helm in the Container Service console.

Prerequisites

  • You have created a Kubernetes cluster successfully. For how to create a Kubernetes cluster, see Create a cluster.
  • You have used the app catalog function or service catalog function to install a Helm application. For more information, see Simplify Kubernetes application deployment by using Helm. In this document, use the wordpress-default application as an example.

View release details

  1. Log on to the Container Service console.
  2. Click Kubernetes >Application > > Release in the left-side navigation pane.Select the cluster from the Clusters drop-down list.
    You can view the applications released by using the Helm package management tool and their services in the selected cluster.


  3. Take the wordpress-default as an example. Click Detail at the right of the release to view the release details,

    such as the current version and history version of this release (in this example, the current version is 1 and no history version exists). You can also view the resource information of wordpress-default, such as the resource name and resource type, and view the YAML information.

    Note
    Click the resource name and you are redirected to the Kubernetes dashboard to view the detailed running status of this resource.


  4. Click the Values tab to view the parameter configurations for installing the Helm package.


Update a release version

  1. Log on to the Container Service console.
  2. Click Kubernetes >Application > > Release in the left-side navigation pane.Select the cluster from the Clusters drop-down list.
    You can view the applications released by using the Helm package management tool and their services in the selected cluster.


  3. Take the wordpress-default as an example. Click Update at the right of the release to update the release. The Update Release dialog box appears.


  4. Modify the parameters and then click Update.


    The current version is changed to 2 and you can find version 1 under History Version. To roll back the release, click Rollback.


Delete a release

  1. Log on to the Container Service console.
  2. Click Kubernetes >Application > > Release in the left-side navigation pane.Select the cluster from the Clusters drop-down list.
    You can view the applications released by using the Helm package management tool and their services in the selected cluster.


  3. Take the wordpress-default as an example. Click Delete at the right of the release to delete the release. The Delete dialog box appears.


  4. Select the Purge check box to clear the release records if necessary. Click OK to delete the wordpress-default application and its resources such as the services and deployments.