snippetdockerMinor
How to add timeout to a helm chart?
Viewed 0 times
charttimeouthelmhowadd
Problem
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
Like:
Can I embed this
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 3600Can I embed this
--timeout 1800 to the helm chat itself? (rather than providing a command line parameter)Solution
Since the timeout is a Helm option and not a Kubernetes object attribute, it can't be embedded in the chart itself.
The
More Info on Helm CLI options
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
Context
StackExchange DevOps Q#12413, answer score: 5
Revisions (0)
No revisions yet.