Step-by-Step Guide to Installing Helm 3 and Helm 2 on Linux
This article provides a complete Linux walkthrough for installing Helm 3, then Helm 2 client and Tiller server, including downloading binaries, extracting files, configuring RBAC, initializing Tiller, and verifying the installation with kubectl and helm commands.
This guide shows how to install Helm 3 on a Linux host.
# Download Helm 3 binary
wget https://get.helm.sh/helm-v3.7.0-rc.2-linux-amd64.tar.gz
# Extract the archive
tar -zxvf helm-v3.7.0-rc.2-linux-amd64.tar.gz
# Move the executable to a directory in PATH
sudo mv linux-amd64/helm /usr/local/bin/helmNext, the article explains installing Helm 2 client and the Tiller server component.
# Download Helm 2 binary
wget https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz
# Extract the archive
tar xvf helm-v2.16.9-linux-amd64.tar.gz
cd linux-amd64
# Copy the binary to a directory in PATH
cp -a helm /usr/local/bin/To run Tiller, a ServiceAccount and ClusterRoleBinding must be created. The required manifest (helm-rbac.yaml) is shown below.
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-systemApply the RBAC configuration: kubectl apply -f helm-rbac.yaml Initialize Tiller with the created ServiceAccount and a specific image, and point Helm to a stable repository mirror:
helm init --service-account tiller \
--tiller-image=registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.17.0 \
--stable-repo-url http://mirror.azure.cn/kubernetes/chartsVerify that Tiller is running:
kubectl get deployment tiller-deploy -n kube-systemFinally, check the client and server versions: helm version Reference: https://www.cnblogs.com/keithtt/p/13171160.html
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
ZhiKe AI
We dissect AI-era technologies, tools, and trends with a hardcore perspective. Focused on large models, agents, MCP, function calling, and hands‑on AI development. No fluff, no hype—only actionable insights, source code, and practical ideas. Get a daily dose of intelligence to simplify tech and make efficiency tangible.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
