istio.io/istio@v0.0.0-20240520182934-d79c90f27776/istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json (about)

     1  {
     2   "configs": [
     3    {
     4     "@type": "type.googleapis.com/envoy.admin.v3.RoutesConfigDump",
     5     "static_route_configs": [
     6      {
     7       "route_config": {
     8        "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
     9        "virtual_hosts": [
    10         {
    11          "name": "backend",
    12          "domains": [
    13           "*"
    14          ],
    15          "routes": [
    16           {
    17            "match": {
    18             "prefix": "/healthz/ready"
    19            },
    20            "route": {
    21             "cluster": "agent"
    22            }
    23           }
    24          ]
    25         }
    26        ]
    27       },
    28       "last_updated": "2023-11-29T09:58:27.299Z"
    29      },
    30      {
    31       "route_config": {
    32        "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
    33        "virtual_hosts": [
    34         {
    35          "name": "backend",
    36          "domains": [
    37           "*"
    38          ],
    39          "routes": [
    40           {
    41            "match": {
    42             "prefix": "/stats/prometheus"
    43            },
    44            "route": {
    45             "cluster": "prometheus_stats"
    46            }
    47           }
    48          ]
    49         }
    50        ]
    51       },
    52       "last_updated": "2023-11-29T09:58:27.285Z"
    53      }
    54     ],
    55     "dynamic_route_configs": [
    56      {
    57       "version_info": "2023-11-29T09:58:18Z/10",
    58       "route_config": {
    59        "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
    60        "name": "http.80",
    61        "virtual_hosts": [
    62         {
    63          "name": "httpbin.example.com:80",
    64          "domains": [
    65           "httpbin.example.com"
    66          ],
    67          "routes": [
    68           {
    69            "match": {
    70             "case_sensitive": true,
    71             "path_separated_prefix": "/get"
    72            },
    73            "route": {
    74             "cluster": "outbound|8000||httpbin.default.svc.cluster.local",
    75             "timeout": "0s",
    76             "retry_policy": {
    77              "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
    78              "num_retries": 2,
    79              "retry_host_predicate": [
    80               {
    81                "name": "envoy.retry_host_predicates.previous_hosts",
    82                "typed_config": {
    83                 "@type": "type.googleapis.com/envoy.extensions.retry.host.previous_hosts.v3.PreviousHostsPredicate"
    84                }
    85               }
    86              ],
    87              "host_selection_retry_max_attempts": "5",
    88              "retriable_status_codes": [
    89               503
    90              ]
    91             },
    92             "cluster_not_found_response_code": "INTERNAL_SERVER_ERROR",
    93             "max_grpc_timeout": "0s"
    94            },
    95            "metadata": {
    96             "filter_metadata": {
    97              "istio": {
    98               "config": "/apis/networking.istio.io/v1alpha3/namespaces/default/virtual-service/http-0-istio-autogenerated-k8s-gateway"
    99              }
   100             }
   101            },
   102            "decorator": {
   103             "operation": "httpbin.default.svc.cluster.local:8000/*"
   104            },
   105            "name": "default.http.0"
   106           }
   107          ],
   108          "include_request_attempt_count": true
   109         }
   110        ],
   111        "validate_clusters": false,
   112        "max_direct_response_body_size_bytes": 1048576,
   113        "ignore_port_in_host_matching": true
   114       },
   115       "last_updated": "2023-11-29T09:58:27.570Z"
   116      }
   117     ]
   118    }
   119   ]
   120  }
   121