Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix timeouts in the health check example and update links for config-default.yaml reference #2265

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/en/latest/concepts/apisix_route.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ spec:

:::note

The `ingressPort` (`9100` here) should be pre-defined in the [APISIX configuration](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L101).
The `ingressPort` (`9100` here) should be pre-defined in the [APISIX configuration](https://github.com/apache/apisix/blob/master/conf/config.yaml.example#L100).

:::

Expand Down Expand Up @@ -377,6 +377,6 @@ spec:

:::note

The `ingressPort` (`9200` here) should be pre-defined in the [APISIX configuration](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L105).
The `ingressPort` (`9200` here) should be pre-defined in the [APISIX configuration](https://github.com/apache/apisix/blob/master/conf/config.yaml.example#L100).

:::
3 changes: 1 addition & 2 deletions docs/en/latest/concepts/apisix_upstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,10 @@ spec:
- 503
- 504
httpFailures: 3
timeout: 5s
active:
type: http
httpPath: /healthz
timeout: 5s
timeout: 5
host: www.foo.com
healthy:
successes: 3
Expand Down
2 changes: 1 addition & 1 deletion docs/en/latest/references/apisix_route_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The table below describes each of the attributes in the spec. The fields `apiVer
| stream[].protocol | string (required) | The protocol of rule. Support `TCP` or `UDP` |
| stream[].name | string (required) | Name of the rule. |
| stream[].match | object (required) | Conditions to match the request with the Route. |
| stream[].match.ingressPort | integer (required) | Listening port in the Ingress proxy server. This port should be defined in the [APISIX configuration](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L101). |
| stream[].match.ingressPort | integer (required) | Listening port in the Ingress proxy server. This port should be defined in the [APISIX configuration](https://github.com/apache/apisix/blob/master/conf/config.yaml.example#L100). |
| stream[].match.host | string | SNI. |
| stream[].backend | object | Backend service (deprecated). Use `http[].backends` instead. |
| stream[].backend.serviceName | string | Name of the backend service (depricated). The service and the `ApisixRoute` resource should be created in the same namespace. |
Expand Down
Loading