Helm Application Management

Last updated: 2020-02-24 19:55:43

PDF

Operation Scenario

You can create, delete, and modify Helm applications in the console. You can also perform such operations though the Helm command line after installing the Helm client locally and connecting to a cluster.

Prerequisites

  • There is a TKE cluster with at least 0.28-core CPU and 180 MiB memory.
  • The Helm application management feature has been enabled in the cluster.
  • Only clusters with Kubernetes version 1.8 and above are supported.

Descriptions

  • If the Helm application management feature is not enabled, please apply for activation in Helm application
  • After the Helm application management feature is enabled, the Helm tiller-related components will be installed in the cluster.

Directions

Creating a Helm Application

  1. Log in to the TKE console.

  2. At the top of the Helm Application page, select Region And Running Cluster And click [Create].

  3. On the "Create Helm Application" page, according to the actual demand Enter the following parameters.

    • Application Name Custom

    • Source It mainly provides two sources: TencentHub and third-party warehouse. Please choose according to the actual situation:

      • TencentHub: You can select public or private type.

        TencentHub is expected to launch deactivate in March 2010. at present, only existing users can use this feature, and new users Enable is no longer supported. It is recommended that all users select a third-party warehouse source to create the Create Helm application again.

      • Third-party warehouse It can be Helm official or Client's Helm Repo warehouse.

        • Download URL According to the actual demand, the download address of Enter's specific Chart must be set to http Beginning tgz The parameter value at the end.
    • Type Both public and private types are available. Please choose them according to the actual situation.

    • Key-Value You can replace the default configuration of the Chart package by setting custom parameters, such as image.repository = nginx .

  4. Click "finish" to make Create successful.

Updating a Helm Application

  1. Go to the Helm Application Console.
  2. In the Helm applications list, select the Helm application to be updated and click Update application.
  3. In the Update Helm application pop-up box, manually enter the Chart_url version number. This is shown in the following figure:
  4. Click Finish.

Rolling Back a Helm Application

  1. Go to the Helm Application Console.
  2. In the Helm Applications list, click the name of the Helm application to be updated to go to the application details page.
  3. Select the Version History tab and click Rollback in the row of the version to rollback to.

Deleting a Helm Application

  1. Go to the Helm Application Console.
  2. In the Helm Applications list, select the Helm application to be deleted and click Delete.
  3. In the prompt box that pops up, click OK. This is shown in the following figure: