How to change idle-timeout for oc commands like oc rsh, oc logs and oc port-forward
Issue
-
I want to change default idle-timeout value to a customized one or even disable it at all.
-
When I use
oc port-forward
, it fails after 5 minutes with the errorlost connection to pod
. Can I configure the timeout?
Environment
- OpenShift Container Platform
- 3.x
- OpenShift Online
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.