Michael
Michael

Reputation: 111

How to pass the request-timeout from helm to kubectl

I'm trying to use helm to deploy applications to kubernetes. In some situations, e.g. working behind proxy, I have to encounter kubectl timeout issue frequently. I can specify --request-timeout when I use kubectl without helm. How can I pass --request-timeout from helm to kubectl? thanks.

Upvotes: 2

Views: 3031

Answers (1)

Anmol Agrawal
Anmol Agrawal

Reputation: 904

You can specify timeout for install and upgrade using two parameters --wait and --timeout (check helm install options https://helm.sh/docs/helm/helm_install/#options). For example

helm install --wait --timeout 30 demo ./demo

Upvotes: 2

Related Questions