XenonStack

Kubernetes

XenonStack Blog What Is Helm? Kubernetes Package Manager Guide

and | Published | Updated

What Is Helm? Kubernetes Package Manager Guide
14:32

Key takeaway

  • Helm explained for platform leaders: charts, releases, Helm 3 and 4 changes, install options, chart signing, rollback and when Kustomize fits better.

What is Helm and why do Kubernetes teams use it?

Helm is the package manager for Kubernetes. It packages the Kubernetes resources an application needs into a chart, installs that chart as a named release, and keeps a revision history so a release can be upgraded or rolled back. Helm is a graduated project of the Cloud Native Computing Foundation.

For enterprise leaders the value is repeatability. One chart, with separate values for development, staging and production, replaces many hand-edited YAML manifests. The trade-off is that charts become code you must review, sign and version like any other. This guide covers what Helm does, what changed in Helm 3 and Helm 4, and the controls to set before charts reach production. For the cluster itself, see Kubernetes architecture and its components.

How do charts, releases and repositories fit together?

The Helm documentation defines three core ideas. Keeping them separate makes ownership clear: platform teams own charts, application teams own values, and operations teams own releases.

ConceptWhat it isWho usually owns it
ChartA package of Kubernetes resource templates that Helm installsPlatform or application engineering
ReleaseA named, installed instance of a chart, with a revision historyOperations or the application team
RepositoryA location where charts are published. Helm 3 and later ship without a default repository, so you add the ones you needPlatform team, which decides which sources are trusted

Charts can deploy something small or a whole application stack. The same chart can serve development, staging and production, with environment-specific settings kept in separate values files. That is the main reason Helm reduces errors when you run many services: a change is made once in the chart or the values, not copied across manifests. See GCP DevOps pipeline for how a release step fits into a delivery pipeline.

What changed in Helm 3 and Helm 4?

The Helm docs now describe Helm 4 as a major release with breaking changes, while stating that v2 charts continue to work unchanged. Older tutorials still show commands that no longer apply.

AreaCurrent positionWhat to do
Chart formatChart.yaml apiVersion v2 is for charts needing Helm 3 or later; dependencies go in Chart.yaml, not requirements.yaml. Helm 4 says v2 charts continue to work unchangedMove v1 charts to v2 and keep dependencies in Chart.yaml
RepositoriesHelm 3 and later ship without a default repositoryAdd and approve repositories explicitly
Applying changesHelm 4 defaults to server-side apply for new releases; upgrades and rollbacks keep the earlier method; the --server-side flag overrides itTest upgrades of Helm 3 releases before switching the CLI in pipelines
Post-renderersNow plugins; an executable can no longer be passed directlyWrap existing post-render scripts as plugins
Flags--atomic is renamed --rollback-on-failure and --force is renamed --force-replace; old flags still work with a deprecation warningUpdate pipeline scripts
Registry loginhelm registry login takes the domain name onlyRemove schemes and paths from login steps
PluginsAn optional WebAssembly runtime is available; existing plugins continue to workAdopt only where a plugin need is proven

The latest Helm releases listed on GitHub at the time of writing were v4.3.1 and v3.22.1. Check that page for the current patch before you pin a version in your pipelines.

How do you install Helm?

The installation guide lists the installer script and binary releases as the official methods. Package managers such as Homebrew, Chocolatey, Scoop, winget and apt are community packages, which the Helm project says it does not support and does not consider trusted third parties. In a regulated environment, download a release binary, verify it, and distribute it from your own artefact store.

MethodCommand or actionWhen it fits
Installer scriptDownload get-helm-4 from the Helm project repository, as shown in the installation guide, then run itQuick start on a workstation
Binary releaseDownload from the releases page, verify it, unpack and move helm to a directory on the pathControlled build images and air-gapped sites
macOS, community packagebrew install helmDeveloper laptops
Windows, community packageschoco install kubernetes-helm, scoop install helm or winget install Helm.HelmDeveloper laptops

After installation, run helm version to confirm the client works.

What does a Helm chart contain?

The chart documentation describes this layout. Only Chart.yaml is required.

File or folderPurpose
Chart.yamlRequired metadata such as name and version. Use apiVersion v2 for charts that need Helm 3 or later; dependencies are listed here
values.yamlDefault configuration values; user-supplied values override them
templates/Templates rendered with values to produce Kubernetes manifests
charts/Charts this chart depends on
crds/Custom Resource Definitions; these files cannot be templated
values.schema.jsonOptional JSON Schema that validates values
README.md and LICENSEOptional documentation and plain-text licence

Keep secrets out of charts and values files in source control, and use your secret manager or an external secrets mechanism instead.

Which commands cover the release lifecycle?

These commands come from the Helm usage guide. Commands in older tutorials such as helm init are not part of current Helm.

helm repo add NAME URL          # add a chart repository
helm repo update                # refresh local repository data
helm search hub KEYWORD         # search Artifact Hub
helm search repo KEYWORD        # search repositories you added
helm show values CHART          # list configurable values
helm install RELEASE CHART -f values.yaml
helm status RELEASE
helm upgrade -f values.yaml RELEASE CHART
helm history RELEASE
helm rollback RELEASE REVISION
helm uninstall RELEASE

Three behaviours matter in production. First, helm install returns once resources are created and does not wait for Pods to run; add --wait (default timeout 5 minutes) to block until they are ready. Second, each install, upgrade or rollback creates a new revision, which is what makes rollback possible. Third, uninstall deletes the release record by default, so you cannot roll back an uninstalled release unless you used --keep-history.

For hooks, Helm hooks run Kubernetes manifests at set points such as pre-install, pre-upgrade and post-rollback. A common use is a backup Job before an upgrade. Charts can also carry tests: a test is a Pod or Job annotated helm.sh/hook: test that passes when its container exits with code 0, run with helm test RELEASE.

How does Helm help with microservices and environments?

Without Helm, a team writes and maintains a manifest for every Kubernetes object in every service. With Helm, a chart holds the templates once and values files carry the differences between environments. When values are merged, the rightmost values file wins and --set overrides take precedence over files, so keep a simple, documented order. Use values files for complex settings, since deeply nested data is hard to express with --set. For rollout strategy, see blue-green deployment in Kubernetes, and for tool choice across the cluster lifecycle see Kubernetes deployment tools and best practices.

How do you govern Helm charts in production?

Helm gives you a record of what was installed; governance decides what may be installed. These controls come from the Helm documentation on provenance and registries.

Two-column diagram mapping Helm release steps (package, publish, install or upgrade, roll back) to controls (sign and verify, pin by digest, review values, keep history), ending with the rule that only signed, pinned, reviewed charts reach production
ControlWhat Helm providesDecision for leaders
Chart integrityhelm package --sign creates a .prov provenance file with the chart digest and a PGP signature; helm verify and helm install --verify check it, and a failed check stops the installRequire signed charts for production. Helm does not decide whom to trust, so you must manage the signing keys
Immutable referencesCharts in OCI registries can be installed by digest, which is stronger than a mutable tag. Helm 4 does not install charts with non-matching digestsPin production releases to digests
Registry accesshelm registry login, helm push and oci:// references work with OCI registriesUse a private registry you control
Change historyhelm history lists revisions; helm rollback returns a release to an earlier oneKeep history on and test rollback before go-live
Review of inputs--set overrides are stored with the release; helm get values shows themPrefer reviewed values files in version control

Note that the provenance and registry pages say they have not yet been updated for Helm 4, so confirm details against the Helm 4 overview before you automate them. When agents or pipelines start releases on their own, the same questions apply with higher stakes: which chart, which values, who approved it, and what evidence remains. AgentGRC provides governance, risk and compliance controls for autonomous agent actions across the enterprise, and ElixirClaw is an agentic OS platform to build, orchestrate and govern AI agents and automation workflows.

When should you use Helm, and when not?

Helm is one option among several. Kubernetes documents Kustomize as a standalone tool to customise Kubernetes objects through a kustomization file, and kubectl supports it from version 1.14. Terraform and Ansible solve a wider infrastructure problem; see what is Infrastructure as Code.

SituationBetter fitReason
Install a third-party application or share a packaged application across teamsHelmCharts are versioned packages with values and release history
Small differences between environments of your own manifestsKustomizeA kustomization file customises objects without a chart
Provision clusters, networks and cloud servicesInfrastructure as Code toolsHelm manages releases on a cluster, not the cloud account beneath it
A single simple servicePlain manifestsA chart adds templating logic you must maintain

Limits to plan for: chart templates need templating skills, upstream charts need review before use, and a wrong values file can still deploy a bad configuration quickly. None of these is a reason to avoid Helm, but each is a reason to add review and testing.

What is a sensible adoption sequence?

  1. Pick the Helm version and pin it in build images; test Helm 3 releases against Helm 4 in a non-production cluster.
  2. Approve the repositories and registries charts may come from, and mirror what you depend on.
  3. Store values files in version control, one per environment, with a documented merge order.
  4. Add helm test to the pipeline, and sign charts you publish.
  5. Pin production installs to chart versions or digests and keep release history.
  6. Rehearse rollback, then extend the same controls to automated and agent-driven releases.

For the wider delivery chain, see GCP DevOps pipeline. Also read Infrastructure as Code using Terraform and Kubecost cost analysis for Kubernetes. Need managed operations? See Managed Kubernetes as a Service and Kubernetes consulting services.

To map one release decision your agents should make, and the chart, values and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently Asked Questions

What is Helm used for?

Helm packages Kubernetes resources into charts, installs them as named releases, and keeps a revision history so releases can be upgraded or rolled back.

What is the difference between a Helm chart and a release?

A chart is a package of Kubernetes resource templates. A release is a named, installed instance of a chart, with its own revision history.

Does Helm 4 break existing charts?

The Helm docs say v2 charts continue to work unchanged. Helm 4 does change some behaviour: server-side apply is the default for new releases, post-renderers are plugins, and some flags are renamed with the old ones still working.

Is Helm better than Kustomize?

They solve different problems. Helm packages and versions applications as charts with release history. Kustomize customises Kubernetes objects through a kustomization file. Choose by whether you need packaging and release management or only environment overlays.

How do you verify a Helm chart before installing it?

Sign the chart with helm package --sign, then use helm verify or helm install --verify. Verification checks a PGP signature and the SHA-256 digest of the package, and a failed check stops the install. You decide which signers to trust.

Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in Solving your Challenges with XenonStack Team
Get Started

Get Started with your requirements and primary focus, that will help us to make your solution

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Proceed Next