Run Helm hooks at install, delete, and other points in a release's life cycle
Answer: Helm provides a hook mechanism so chart developers can intervene at certain points in a release's life cycle. Hooks work like regular templates, but they have special annotations. helm install installs a chart and creates a new release object; hooks run at life-cycle points around that release.
When hooks run
The following hooks are defined for install, upgrade, rollback, and deletion, including before any resources are deleted and after they have been deleted. The library sorts hooks by weight, assigning a weight of 0 by default, then loads the hook with the lowest weight first. The library waits until the hook is "Ready" (except for CRDs). If the resource is a Job, Helm waits until it successfully runs to completion, and if the hook fails, the release is affected. Hook resources with the same weight are installed in the same order starting from Helm 3.2.0. Hook weights can be positive or negative numbers but must be represented as strings in helm.sh/hook-weight.
Delete policy
helm.sh/hook-delete-policy controls when hook resources are removed. The hooks page includes a pre-install hook example that uses weight and helm.sh/hook-delete-policy.
Install and release
To install a new package, use the helm install command with a release name that you pick and the chart you want. During installation, the client prints which resources were created and what the state of the release is. Helm also installs resources in a documented order. Hook annotations are what set those resources apart from that install order.
See also
Claims
- id: C1 claim: Hooks let a chart intervene at points in a release's life cycle. source: S1 evidence: "intervene at certain points in a release's life cycle"
- id: C2 claim: Hooks are ordered by weight, defaulting to zero. source: S1 evidence: "The library sorts hooks by weight (assigning a weight of 0 by default)"
- id: C3 claim: helm install creates a new release object for the chart. source: S2 evidence: "installing a chart creates a new _release_ object"
Sources
- [S1] Chart Hooks. Helm docs. https://helm.sh/docs/topics/charts_hooks/ . License: MIT. Accessed 2026-11-19.
- [S2] Using Helm. Helm docs (GitHub). https://raw.githubusercontent.com/helm/helm-www/main/docs/intro/using_helm.mdx . License: MIT. Accessed 2026-11-19.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Helm docs, Chart Hooks; Helm docs (GitHub), Using Helm. MIT; MIT. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Helm docs, Chart Hooks; Helm docs (GitHub), Using Helm. MIT; MIT.
Cite this
iinventedlight. 2026. "Run Helm hooks at install, delete, and other points in a release's life cycle." iinventedlight Library, iil:note:m7s37m5x, version of 2026-11-19. https://iinventedlight.com/library/notes/helm-hooks/. License: CC-BY-4.0.
@misc{iil_note_m7s37m5x,
author = {{iinventedlight}},
title = {{Run Helm hooks at install, delete, and other points in a release's life cycle}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-19},
url = {https://iinventedlight.com/library/notes/helm-hooks/},
note = {Permanent ID iil:note:m7s37m5x. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/helm-hooks.md.