This document explains how to connect to a cluster by using local 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
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo add tkemarket https://market-tke.tencentcloudcr.com/chartrepo/opensource-stable
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:
helm install .... --kubeconfig [path of kubeconfig]