<p>Since the timeout is a Helm option and not a Kubernetes object attribute, it can't be embedded in the chart itself.</p>
<p>The <code>--timeout</code> option is the amount of time the Helm utility will wait for Kubernetes commands to complete before marking the release as FAILED.</p>
<p><a href="https://helm.sh/docs/intro/using_helm/#helpful-options-for-installupgraderollback" rel="noreferrer">More Info on Helm CLI options</a></p>

CC BY-SA 4.0
2020-09-18T14:36:02.023Z
Accepting this answer, sadly :( Hope to see a parameter in chart itself- soon!
Madhusoodan
CC BY-SA 4.0
2020-09-15T14:01:50.343Z
2020-09-15T14:01:50.343Z
swysocki
<p>I have a helm chart which pulls a lot of images from various registries and deploys a lot of pods. It runs a lot of k8s jobs before getting the pods up.</p>
<p>Overall, helm install command takes huge time, so usually my helm install will also have <code>--timeout 3600</code>.</p>
<p>Like: <code>helm install --name</code> will also have <code>--timeout 3600</code></p>
<p>Can I embed this <code>--timeout 1800</code> to the helm chat itself? (rather than providing a command line parameter)</p>

<docker><kubernetes><helm><artifactory><kubernetes-helm>
How to add timeout to a helm chart?
Madhusoodan
# How to add timeout to a helm chart?

(Asked by: username_0 on 2020-09-15)

I have a helm chart which pulls a lot of images from various registries and deploys a lot of pods. It runs a lot of k8s jobs before getting the pods up.

Overall, helm install command takes huge time, so usually my helm install will also have `--timeout 3600`.

Like: `helm install --name` will also have `--timeout 3600`

Can I embed this `--timeout 1800` to the helm chat itself? (rather than providing a command line parameter)

**Tags:** docker, kubernetes, helm, artifactory, kubernetes-helm


---

## 1 answers

### Answer by username_1 on 2020-09-15. Score: 6 | Accepted answer

Since the timeout is a Helm option and not a Kubernetes object attribute, it can't be embedded in the chart itself.

The `--timeout` option is the amount of time the Helm utility will wait for Kubernetes commands to complete before marking the release as FAILED.

[More Info on Helm CLI options](https://helm.sh/docs/intro/using_helm/#helpful-options-for-installupgraderollback)

> **Comments:**
> **username_0**: Accepting this answer, sadly :( Hope to see a parameter in chart itself- soon!  

---

