How to pass the request-timeout from helm to kubectl

2/21/2020

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.

-- Michael
kubectl
kubernetes
kubernetes-helm

1 Answer

2/22/2020

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
-- anmol agrawal
Source: StackOverflow