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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
