Package manager for Kubernetes
Separation of templates (called chart) and values
Supports install/upgrade/uninstall and upgrade/rollback
Based on go templates and sprig library
Many charts from the community on ArtifactHub
nginx
nginx
by BitnamiClick on Install
# Add repository
helm repo add bitnami https://charts.bitnami.com/bitnami
# Install chart
helm install my-nginx bitnami/nginx
Default values
Check release
helm list
Fix service type to ClusterIP
helm upgrade my-nginx bitnami/nginx --set service.type=ClusterIP
helm upgrade my-nginx bitnami/nginx --reuse-values --set image.tag=1.24.0
When setting very few fields, use --set
When settings many fields, use --values
:
helm update my-nginx bitnami/nginx --values values.yaml
Clocks drift - even in VMs
Time drift can cause authentication issues
File | Description |
---|---|
Chart.yaml |
Metadata |
values.yaml |
Default values |
templates/ |
Templates |
templates/daemonset.yaml |
Daemonset |
templates/_helpers.tpl |
Variables |