Helm is the package manager for Kubernetes, enabling you to define, install, and upgrade complex Kubernetes applications. It uses charts to package pre-configured resources.
📑 Table of Contents
Key Features
- Charts: Reusable application packages
- Templating: Dynamic configuration values
- Rollbacks: Easy version management
- Repositories: Share and discover charts
- Hooks: Lifecycle management
Installation
Install Helm:
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Usage Examples
Common Helm operations:
# Add repository
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
# Search charts
helm search repo nginx
# Install chart
helm install my-nginx bitnami/nginx
# Custom values
helm install my-app ./mychart -f values.yaml
# Upgrade release
helm upgrade my-app ./mychart
# Rollback
helm rollback my-app 1
Benefits
Helm simplifies Kubernetes deployments with version-controlled packages. Its templating enables environment-specific configurations while charts promote reuse.
Was this article helpful?