navendu-pottekkat commented on code in PR #1423: URL: https://github.com/apache/apisix-ingress-controller/pull/1423#discussion_r1011136101
########## docs/en/latest/references/apisix_route_v2.md: ########## @@ -21,83 +26,85 @@ title: ApisixRoute/v2 Reference # --> +See [concepts](https://apisix.apache.org/docs/ingress-controller/concepts/apisix_route) to learn more about how to use the ApisixRoute resource. + ## Spec -Meaning of each field in the spec of ApisixRoute are followed, the top level fields (`apiVersion`, `kind` and `metadata`) are same as other Kubernetes Resources. +See the [definition](https://github.com/apache/apisix-ingress-controller/blob/master/samples/deploy/crd/v1/ApisixRoute.yaml) on GitHub. + +The table below describes each of the attributes in the spec. The fields `apiVersion`, `kind`, and `metadata` are similar to other Kubernetes resources and are excluded below. + +| Attribute | Type | Description | +| ------------------------------------ | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| http | array | HTTP Route rules. | +| http[].name | string (required) | Route rule name. | +| http[].priority | integer | Route priority. Used to determined which Route to use when multiple routes contain the same URI. Large number means higher priority. | +| http[].timeout | object | Timeouts for connecting, sending, and receiving messages between Ingress and the service. This will overwrite the value configured in `ApisixUpstream` resource. | +| http[].timeout.connect | string | Connect timeout in the form "72h3m0.5s". | Review Comment: @juzhiyuan I did not understand your question. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
