Per-Route Retry
EnRoute Technical Reference
On this page
EnRoute GatewayHost
provides an option to provide per-route retries. The incoming request retried until a response is received.
Example
Here is an example with retry in GatewayHost
.
.
apiVersion: enroute.saaras.io/v1
kind: GatewayHost
metadata:
labels:
app: httpbin
name: httpbin-9000-gatewayhost-httpbin-host
namespace: httpbin
spec:
routes:
- conditions:
- prefix: /
enableWebsockets: true
retryPolicy:
count: 10
perTryTimeout: 333s
services:
- name: httpbin
port: 9000
timeoutPolicy:
request: 241ms
virtualhost:
fqdn: '*'