Helm
Kubernetes package manager with charts, templates, and release management.
Quick Start
helm create my-app
helm install my-release ./my-app
helm list
Chart Structure
my-app/
Chart.yaml # Metadata
values.yaml # Default configuration
templates/ # K8s manifests with Go templates
deployment.yaml
service.yaml
_helpers.tpl
Go Templates
apiVersion: apps/v1
kind: Deployment
spec:
replicas: {{ .Values.replicaCount }}
template:
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
When to Use
- Standardized Kubernetes deployments
- Multi-environment configurations
- Application package distribution
- CI/CD for Kubernetes
Validation
- helm lint passes without errors
- helm template renders correct manifests
- helm install creates resources successfully