When to Use
- Helm chart development and testing
- Chart linting and validation
- Template rendering preview
- Release management
Prerequisites
- Helm 3.x installed
- Kubernetes context configured
- Access to chart repositories
Commands
Chart Development
# Lint chart
helm lint ./chart
# Template rendering
helm template release-name ./chart -f values.yaml
# Dry-run install
helm install release-name ./chart -f values.yaml --dry-run
Repository Operations
# Add repository
helm repo add <name> <url>
# Update repositories
helm repo update
# Search charts
helm search repo <keyword>
Release Management
# List releases
helm list -A
# Install chart
helm install <release> <chart> -f values.yaml -n <namespace>
# Upgrade release
helm upgrade <release> <chart> -f values.yaml -n <namespace>
# Rollback release
helm rollback <release> <revision> -n <namespace>
Best Practices
- ALWAYS lint charts before deploying
- Use --dry-run to preview changes
- Keep values.yaml files in version control
- Use semantic versioning for charts
- Document chart dependencies
Output Format
- Command executed
- Validation results
- Template output (if applicable)
- Next steps
Integration with Agents
Used by: @devops, @platform, @sre