Manage Helm applications¶
The container management module supports interface-based management of Helm, including creating Helm instances using Helm templates, customizing Helm instance parameters, and managing the full lifecycle of Helm instances.
This section will take cert-manager as an example to introduce how to create and manage Helm applications through the container management interface.
Prerequisites¶
-
The container management platform has joined the Kubernetes cluster or has created the Kubernetes cluster, and can access the UI interface of the cluster.
-
Completed a Namespace Creation, User Creation, and created a Grant
NS Admin
or higher permissions, please refer to Namespace Authorization for details.
Install the Helm application¶
Follow the steps below to install the Helm application.
-
Click on a cluster name to enter
Cluster Details
. -
In the left navigation bar, click
Helm Application
->Helm Template
to enter the Helm template page.On the Helm template page, select the Helm repository named
addon
, and all the Helm chart templates under theaddon
repository will be displayed on the interface. Click on the Chart namedcert-manager
. -
On the installation page, you can see the relevant detailed information of the Chart, select the version to be installed in the upper right corner of the interface, and click the
Install
button. Here select v1.9.1 version for installation. -
Configure
Name
,Namespace
andVersion Information
. You can also customize parameters by modifying YAML in the Parameter Configuration area below. ClickOK
. -
The system will automatically return to the list of Helm applications, and the status of the newly created Helm application is
Installing
, and the status will change toRunning
after a period of time.
Update the Helm application¶
After we have completed the installation of a Helm application through the interface, we can perform an update operation on the Helm application. Note: Update operations using the UI are only supported for Helm apps installed via the UI.
Follow the steps below to update the Helm application.
-
Click on a cluster name to enter
Cluster Details
. -
On the left navigation bar, click
Helm Application
to enter the Helm application list page.On the Helm application list page, select the Helm application that needs to be updated, click the
...
operation button on the right side of the list, and select theUpdate
operation in the drop-down selection. -
After clicking the
Update
button, the system will jump to the update interface, where you can update the Helm application as needed. Here we take updating the http port of thedao-2048
application as an example. -
After modifying the corresponding parameters. You can click the
Change
button under the parameter configuration to compare the files before and after the modification. After confirming that there is no error, click theOK
button at the bottom to complete the update of the Helm application. -
The system will automatically return to the Helm application list, and a pop-up window in the upper right corner will prompt
update successful
.
View Helm operation records¶
Every installation, update, and deletion of Helm applications has detailed operation records and logs for viewing.
-
In the left navigation bar, click
Cluster Operations
->Recent Operations
, and then select theHelm Operations
tab at the top of the page. Each record corresponds to an install/update/delete operation. -
To view the detailed log of each operation: Click
⋮
on the right side of the list, and selectLog
from the pop-up menu. -
At this point, the detailed operation log will be displayed in the form of console at the bottom of the page.
Delete the Helm application¶
Follow the steps below to delete the Helm application.
-
Find the cluster where the Helm application to be deleted resides, click the cluster name, and enter
Cluster Details
. -
In the left navigation bar, click
Helm Application
to enter the Helm application list page.On the Helm application list page, select the Helm application you want to delete, click the
...
operation button on the right side of the list, and selectDelete
from the drop-down selection. -
Enter the name of the Helm application in the pop-up window to confirm, and then click the
Delete
button.