About

A retry is the number of times a request is retried if it fails. This setting can be useful to avoid your apps from failing if they are temporarily unavailable. With retries, calls are retried a certain number of times before they are considered failed. Retries can enhance your app’s availability by making sure that calls don’t fail permanently because of transient problems, such as a temporarily overloaded service or network.

Configuration options

You can configure retries by using a Kubernetes Gateway API-native configuration or an AgentgatewayPolicy as shown in the following table

Type of timeout Description Configured via Attach to
Request retries Specify the number of times and duration for the gateway to try a connection to an unresponsive backend service.
  • HTTPRoute
  • AgentgatewayPolicy
  • HTTPRoute
  • HTTPRoute rule
  • Gateway listener (AgentgatewayPolicy only)
Per-try timeout Set a shorter timeout for retries than the overall request timeout.
  • HTTPRoute
  • AgentgatewayPolicy
  • HTTPRoute
  • HTTPRoute rule
  • Gateway listener (AgentgatewayPolicy only)
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

↑↓ navigate select esc dismiss

What could be improved?