zoukankan      html  css  js  c++  java
  • Ambassador-05-自动重试

    自动重试定义:

    retry_policy:
      retry_on: <string>
      num_retries: <integer>
      per_try_timeout: <string>

    retry_on:必输项,可填如下:5xxgateway-errorconnect-failureretriable-4xxrefused-streamretriable-status-codes

    num_retries:失败的重试次数

    per_try_timeout:重试超时时间

    ---
    apiVersion: getambassador.io/v2
    kind:  Mapping
    metadata:
      name:  quote-backend
    spec:
      prefix: /backend/
      service: quote
      retry_policy:
        retry_on: "5xx"
        num_retries: 10
  • 相关阅读:
    uIP的ARP协议分析
    如何使函数不生成执行代码
    计算机网络基础
    [Hive
    [Hive
    [Hive
    [Hive
    [Hive
    [Hive
    [Hive
  • 原文地址:https://www.cnblogs.com/shix0909/p/12960675.html
Copyright © 2011-2022 走看看