You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allow for configurable server side timeouts on routes
using annotations configure a route to have it's own server side timeout
--beginning of route.yaml
apiVersion: v1
kind: Route
metadata:
annotations:
hello-again.timeout: 5s
creationTimestamp: 2016-06-20T22:43:44Z
name: hello-again
namespace: default
resourceVersion: "461544"
selfLink: /oapi/v1/namespaces/default/routes/hello-again
uid: 717b8a38-3738-11e6-8b7f-525400d6577c
...
matching against [routename].timeout: [time] is what creates the timeout
changelog:
- change the annotation name to "router.openshift.io/haproxy.timeout" to
conform to naming convention
- adding timeout annotations to be_tcp_* and be_secure_*
- added a regex to validate input
- corrected the regular expression
- changed matchString to matchPattern and made the default to anchor the
pattern at the beginning and end of lines
- nit, changed info prompt to correct function name
- inline description FuncMap functions for the router template
0 commit comments