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.
Asked
Active
Viewed 2,504 times
2
-
Have you considered running a helm pod inside the cluster and use `kubectl --request-timeout` to execute helm commands? – Wytrzymały Wiktor Feb 24 '20 at 11:58
1 Answers
2
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
- 814
- 4
- 6
-
Looks like this is not working in my env while kubectl --request-timeout is working for me. however timeout issue might vary depending on system, networking env etc. – Michael Feb 23 '20 at 07:13
-