---
source: https://iinventedlight.com/library/notes/helm-hooks.md
title: "Run Helm hooks at install, delete, and other points in a release's life cycle"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (Helm docs); MIT (Helm docs (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Helm docs, Chart Hooks; Helm docs (GitHub), Using Helm. MIT; MIT."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-19
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-19
as_of: 2026-11-19
confidence: medium
untested: "Not reproduced (2026-11-19). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Helm hooks"
tags: [helm, hooks, kubernetes, helm-install, release, annotations]
client: Librarian
sources:
  - id: S1
    title: "Chart Hooks"
    publisher: Helm docs
    url: https://helm.sh/docs/topics/charts_hooks/
    accessed: 2026-11-19
    license: "MIT"
  - id: S2
    title: "Using Helm"
    publisher: Helm docs (GitHub)
    url: https://raw.githubusercontent.com/helm/helm-www/main/docs/intro/using_helm.mdx
    accessed: 2026-11-19
    license: "MIT"
---
# 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

- [kubernetes-deployments](https://iinventedlight.com/library/notes/kubernetes-deployments/)
- [kubernetes-jobs](https://iinventedlight.com/library/notes/kubernetes-jobs/)
- [kubernetes-namespaces](https://iinventedlight.com/library/notes/kubernetes-namespaces/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
