Hide Forgot
As an OpenShift admin, I want to be able to configure timeouts on certain routes so that services w/ a lower timeout (for SLA purposes) or a higher one (for cases where the backend service is slower) can be supported This might need to be a note that says why we need configurable time-outs, and how we can set them.
PR submitted for this: https://github.com/openshift/openshift-docs/pull/2722 Jacob, Can I ask for an ack on this? 1. The test cases seemed to have different cases for each type of route, but the step for adding the timeout was the same for each. So, is what I have correct? What about the secure vs unsecure routes? 2. Where it says "haproxy.route.openshift.io", should this be changed to something more generic? Thanks!
What you have looks good. Setting the timeout is the same for secure or unsecure routes, the test cases are different because they are set slightly differently on the backend. The annotation name is part of a naming scheme used by annotations that was inherited from kubernetes and I don't believe will be changed.
(In reply to jtanenba from comment #3) > What you have looks good. Setting the timeout is the same for secure or > unsecure routes, the test cases are different because they are set slightly > differently on the backend. The annotation name is part of a naming scheme > used by annotations that was inherited from kubernetes and I don't believe > will be changed. I just noticed you mentioned the units in your generic example, the timeout does not have to be specified in seconds.
Jacob, sure. Thanks for the answers. I added some extra info on the different units you can set. Please let me know if there's anything else, but for now I'll put this onto QA.
Added comment to the PR, other than that, looks good to me.
Thanks! I have changed to "Route". I'll move to peer review.
Commit pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/bd83d7f5825f25f3baee906d60fb8e2d1cf08d28 Merge pull request #2722 from bfallonf/bz1368878 Bug 1368878 added info on route timeouts and arranged native routing doc
Link to released docs: https://docs.openshift.com/container-platform/3.3/install_config/configuring_routing.html