k8wiz
Helm
Hard
Templates

Which field in a hook's annotations sets a timeout for hook execution?

Select your answer:

Show answer and explanation

Answer: None; the command's --timeout applies

Explanation

Hooks have no timeout annotation. Helm waits for each hook up to the --timeout of the install or upgrade, 5 minutes by default, and a Job hook counts as done when it completes. helm.sh/hook-weight sets the order, and helm.sh/hook-delete-policy sets when hook resources are removed.

Read more about Helm