Inspect release hooks

Dump rendered pre/post-install/upgrade hooks to debug failing job ordering

helm get hooks <rel> -n <ns>

tool
helm54 commands
tags
helmdebugk8stroubleshooting

More helm commands

  • helm history <rel> -n <ns> && helm rollback <rel> <rev> --dry-run -n <ns>

    Preview which revision a rollback targets before committing to it

  • helm dependency update ./chart && helm dependency build ./chart

    update refreshes Chart.lock from repos; build fetches subcharts from existing lock

  • helm upgrade --install <name> ./chart --wait --wait-for-jobs --timeout 10m -n <ns>

    Block until pods ready AND hook Jobs complete; avoids racing on migrations

  • helm status <rel> -n <ns> -o json | jq '.info.status, .info.last_deployed'

    Extract machine-readable deploy state for scripts and gate checks

  • helm upgrade --install <name> ./chart --post-renderer ./kustomize-hook.sh -n <ns>

    Patch rendered manifests via kustomize without forking the upstream chart

all 54 helm commands