Ravindra BagaleCourses & study guides मराठी

Chapter 85: Helm for Kubernetes

DevOps

85.2 Install Helm and check the cluster

Story. Neha in Hyderabad joined an Accenture-style project. Her laptop had kubectl talking to a kind cluster, but helm was missing. She installed Helm 3 from the official script, ran helm version, then helm list -A. Empty was fine — it proved Helm could reach the same API server as kubectl.

Install helm helm version kubeconfig context helm list -A
Install Helm, verify version, then list releases against the current kubeconfig context.

Why

Helm is a client. It uses your kubeconfig. If kubectl cannot see the cluster, Helm cannot either.

What

  • Helm 3 — Current major version. No Tiller. Talks straight to the API server.
  • kubeconfig — The same file kubectl uses (~/.kube/config).
  • context — Which cluster and user Helm will use.

How

  1. Install Helm 3 from the official docs for your OS (package manager or the get-helm-3 script).
  2. Run helm version.
  3. Run kubectl cluster-info and helm list -A.

Example 1: Version check

helm version

Output

version.BuildInfo{Version:"v3.16.2", GitCommit:"...", GoVersion:"go1.22.7"}

What it shows: Client version is 3.x. You do not need a server-side Helm component anymore.

Example 2: Empty release list is OK

kubectl config current-context
helm list -A

Output

kind-kind
NAME    NAMESPACE   REVISION    UPDATED STATUS  CHART   APP VERSION

What it shows: Helm reached the cluster. No releases yet.

When it is red

Error: Kubernetes cluster unreachable: Get "https://127.0.0.1:6443/version": dial tcp 127.0.0.1:6443: connect: connection refused

Fix. Start your kind or Minikube cluster, or select the right context with kubectl config use-context.

Ravindra Bagale's Tip

Always run kubectl get nodes before the first helm install on a new laptop.

Quick quiz

Q1. Does Helm 3 need Tiller?

No. Helm 3 talks to the API server directly.

Q2. Which config file does Helm use?

The same kubeconfig as kubectl.

Q3. What does helm list -A show?

All releases in all namespaces.

Did you understand? Let us try it once more.