Guide For Helm
1. Helm Daily Workflow
- A. list all your charts
You start out by listing all your charts with:
helm ls
- B. Delete a deployment + service
You can uninstall any of the listed charts using:
helm uninstall CHART_NAME
- C. Create a new chart-template with deployment+service for an app
helm create CHART_NAME
- D. Provision a deployment+service for the first time
helm install CHART_NAME . --values values.yaml --debug --verify -n NAMESPACE --create-namespace
Or by using force:
helm install CHART_NAME . --values values.yaml --debug --verify -n NAMESPACE --create-namespace --force
- E. Keep track of an installation progress
helm status CHART_NAME -n NAMESPACE
- F. Upgrade (update) a chart's revision
helm upgrade CHART_NAME . --install --values values.yaml -n NAMESPACE --create-namespace
Notice the --install
flag, which makes helm install
command redundant, since you now no longer need to decide between helm install
& helm upgrade
, just always use helm upgrade
.