Helm Chart
A Kubernetes package format that bundles Deployment, Service, and ConfigMap templates into a versioned unit parameterized by environment-specific values.yaml files
Table of Contents
Structure Diagram
What is Helm Chart?
A Kubernetes package format that bundles Deployment, Service, and ConfigMap templates into a versioned unit parameterized by environment-specific values.yaml files. It is a core concept in Containers & Orchestration within Cloud / DevOps.
Core Principles
A Helm Chart is the standard packaging format for Kubernetes—often described as the package manager (like apt or npm) for Kubernetes. It bundles related manifests (Deployment, Service, Ingress, HPA) as parameterized Go templates while isolating environment-specific settings (replica counts, domains, image tags) into values.yaml.
Every installation creates a tracked Release with revision history, enabling atomic upgrades (helm upgrade) and one-command rollbacks (helm rollback).
Practical Takeaways
- Distribute charts via OCI registries: Store and sign Helm charts alongside container images in OCI registries (ECR, GHCR, Harbor) rather than maintaining legacy HTTP chart repos.
- Preview rendered output in CI: Always run
helm lint,helm template, andhelm diffin pull requests to verify exact Kubernetes YAML diffs before applying to production. - Avoid over-templating: Deeply nested Go template logic quickly becomes unreadable. Keep charts clean or combine Helm for third-party packages with Kustomize for environment overlays.
Notable Examples
- Cluster Add-on Ecosystem: Industry standard for installing
kube-prometheus-stack,cert-manager,ingress-nginx, andargo-cd. - Internal Golden App Charts: Platform teams publish a shared base chart enforcing probes, security contexts, and resource limits while app teams supply minimal
values.yamlfiles. - GitOps Releases: Argo CD and Flux natively render Helm charts with Git-tracked value overrides.