Why Helm
Helm is the package manager for Kubernetes. Install complex applications with one command, manage versions, customize with values, share charts. The npm/apt of Kubernetes.
Install
brew install helm
Install Applications
# Add a chart repository
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
# Install PostgreSQL
helm install my-db bitnami/postgresql --set auth.postgresPassword=secret
# Install Redis
helm install my-cache bitnami/redis --set architecture=standalone
# Install Nginx Ingress
helm install ingress ingress-nginx/ingress-nginx
Custom Values
# values.yaml
replicaCount: 3
image:
repository: myorg/myapp
tag: v2.0.0
resources:
limits:
cpu: 500m
memory: 256Mi
ingress:
enabled: true
hosts:
- host: app.example.com
paths:
- path: /
pathType: Prefix
helm install my-app ./charts/myapp -f values.yaml
Create Your Own Chart
helm create myapp
myapp/
Chart.yaml # Metadata
values.yaml # Default values
templates/ # K8s manifests with Go templates
deployment.yaml
service.yaml
ingress.yaml
Manage Releases
# List releases
helm list
# Upgrade
helm upgrade my-app ./charts/myapp --set image.tag=v3.0.0
# Rollback
helm rollback my-app 1
# Uninstall
helm uninstall my-app
# History
helm history my-app
Key Features
- One-command install — complex apps in seconds
- Versioning — upgrade, rollback, history
- Templating — Go templates with values
- Dependencies — charts can depend on other charts
- Repositories — share charts via OCI registries
- CNCF Graduated — industry standard
Resources
Need to extract Helm chart data, release info, or K8s package metadata? Check out my Apify tools or email spinov001@gmail.com for custom solutions.
Top comments (0)