Helm Handbook (🚧Continuous Update)

Helm is the package manager for Kubernetes. We can download it from here

Take the public repository portainer/k8s as an example

1. Render the helm chart locally

Open the terminal under the path github.com/portainer/k8s/charts

helm template portainer/

# Render the chart with configurable argument
helm template portainer/ --set image.tag="2.6.0"
helm template portainer/ --set enterpriseEdition.enabled=true --set enterpriseEdition.image.tag="2.7.0"

2. Install helm chart

helm install --create-namespace -n portainer portainer portainer/portainer

3. Install helm chart with local repository

helm install --create-namespace -n portainer portainer-local portainer/ \ 
  --values portainer/values.yaml  

# with argument
helm install --set image.tag="2.6.0" --create-namespace \ 
  -n portainer portainer-2-6 portainer/ \ 
  --values portainer/values.yaml  

4. helm chart repo

# Add repo
helm repo add <repo_name> https://portainer.github.io/k8s/
helm repo update

# Remove repo
helm repo remove <repo_name>

5. Delete helm namespace

helm delete -n portainer portainer

6. List helm namespace

helm ls --all-namespaces

If this post helped you to solve a problem or provided you with new insights, please upvote it and share your experience in the comments below. Your comments can help others who may be facing similar challenges. Thank you!
Buy Me A Coffee
DigitalOcean Referral Badge
Sign up to get $200, 60-day account credit !