Closed1

istio リトライ

atsuya0atsuya0

https://istio.io/latest/docs/concepts/traffic-management/#retries

kubectl port-forward pod-name 15000:15000
curl http://localhost:15000/config_dump

{
  "retry_policy": {
    "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
    "num_retries": 2,
    "retry_host_predicate": [
      {
        "name": "envoy.retry_host_predicates.previous_hosts",
        "typed_config": {
          "@type": "type.googleapis.com/envoy.extensions.retry.host.previous_hosts.v3.PreviousHostsPredicate"
        }
      }
    ],
    "host_selection_retry_max_attempts": "5",
    "retriable_status_codes": [
      503
    ]
  }
}

retry_on
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter

このスクラップは2023/10/20にクローズされました