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
./get_helm.sh
Run the following command to configure the official Kubernetes repository.
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
Run the following command to configure the Tencent Cloud application market.
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]
Apakah halaman ini membantu?