tencent cloud

Feedback

Connecting to a Cluster Using the Local Helm Client

Last updated: 2024-12-19 22:14:32

Operation Scenario

This document explains how to connect to a cluster by using local Helm client.

Directions

Downloading the Helm client

Run the following commands in sequence to download the Helm client. For more information on installing Helm, see Installing Helm.
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh

Configuring a Helm Chart repository (optional)

1. Run the following command to configure the official Kubernetes repository.
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
2. Run the following command to configure the Tencent Cloud application market.
helm repo add tkemarket https://market-tke.tencentcloudcr.com/chartrepo/opensource-stable

Connecting to a cluster

Compared with Helm v2, Helm v3 has removed the Tiller component. The Helm client can directly connect to the API servers of clusters. The application-related version data is stored in Kubernetes. See the figure below:

The Helm client uses a client certificate generated by TKE to access clusters. The detailed directions are as follows:
2. Connect to the target cluster by referring to the following two methods:
Use the kubeconfig obtained above to configure kubectl config use-context on the device where the Helm client is located.
Run the following command with the specified parameter to access the target cluster.
helm install .... --kubeconfig [path of kubeconfig]
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon