Terraform & Helm: Helm: charts, repos & debugging
16 Terraform & Helm commands: Helm: charts, repos & debugging. Click a command to see what each part does.
Terraform & Helm: Helm: charts, repos & debuggingIndex
Helm: charts, repos & debugging16
helm search repo <keyword> --versions; helm search hub <keyword>Search charts in added repos / Artifact HubWhat each part does
search repocharts in your added repos--versionsevery chart version, not only the latestsearch hubsearch Artifact Hub
helm pull <repo>/<chart> --version <version> --untarDownload and unpack a chartWhat each part does
pulldownload the chart .tgz--versionspecific chart version--untarunpack to a folder to read templates
helm show chart <repo>/<chart>; helm show readme <repo>/<chart>Show a chart's metadata and READMEWhat each part does
show chartChart.yaml: version, appVersion, dependenciesshow readmedocumentation
helm upgrade --install <release> oci://<registry>/<path>/<chart> --version <version> -n <namespace>Install a chart from an OCI registryWhat each part does
oci://...charts stored in a container registry (no helm repo add)--versionchart version
helm status <release> -n <namespace>Status and notes of a releaseWhat each part does
statusdeployed / failed / pending-upgrade, revision, and the chart's NOTES
helm get manifest <release> -n <namespace>What did Helm actually deploy?What each part does
get manifestthe rendered YAML of the current revision (--revision <n> for older)
helm list -A --pending --failedReleases stuck or failedWhat each part does
-Aall namespaces--pending --failedonly releases in those states (pending-upgrade blocks new upgrades)
helm upgrade <release> <chart> -f <values-file> --dry-run=server --debug -n <namespace>Preview an upgrade without applyingWhat each part does
--dry-run=serverrender and validate against the cluster, change nothing--debugprint the rendered manifests
helm diff upgrade <release> <chart> -f <values-file> -n <namespace>Diff an upgrade (helm-diff plugin)What each part does
helm diff upgradecolored diff between the live release and what the upgrade would deploy (helm plugin install https://github.com/databus23/helm-diff)
helm upgrade <release> <chart> --reuse-values --set <key>=<value>Keep current values on upgradeCautionWhat each part does
--reuse-valuesstart from the last release's values--setchange only this one
Tip Can hide new chart defaults; --reset-then-reuse-values is safer on Helm 3.14+.
helm create <chart>Create a new chartWhat each part does
helm createscaffold a chart: Chart.yaml, values.yaml, templates
helm lint <chart-dir> -f <values-file>Lint a chartWhat each part does
lintcheck the chart and rendered templates for errors and best practices
helm dependency update <chart-dir>Fetch chart dependenciesWhat each part does
dependency updatedownload the subcharts listed in Chart.yaml into charts/ and update Chart.lock
helm package <chart-dir> && helm push <chart>-<version>.tgz oci://<registry>/<path>Package and push a chart to an OCI registryWhat each part does
packagebuild <chart>-<version>.tgzpush ... oci://upload to the registry (helm registry login first)
helm test <release> -n <namespace>Run a release's testsWhat each part does
helm testrun the chart's test hook pods and report pass/fail
helm plugin listInstalled Helm pluginsWhat each part does
plugin liste.g. diff, secrets, unittest
Nothing matches.
My DevOps Playbook by Angelo John Calleja