-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: faq doc add use the FQDN address #4003
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
Conversation
docs/zh/latest/FAQ.md
Outdated
|
|
||
| ## upstream 节点是否支持配置 `FQDN`(Fully Qualified Domain Name) 地址 | ||
|
|
||
| 这是支持,下面是一个 `FQDN` 为 `localhost.localdomain.com` 的示例: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
docs/zh/latest/FAQ.md
Outdated
|
|
||
| ```shell | ||
| # 测试请求 | ||
| $ curl http://127.0.0.1:9080/hello -i |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you really test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a real test, because the FQDN address I configured did not resolve to the local host. I will update it later for a local test.
docs/en/latest/FAQ.md
Outdated
|
|
||
| In route, we can achieve more condition matching by combining `uri` with `vars` field. For more details of using `vars`, please refer to [lua-resty-expr](https://github.com/api7/lua-resty-expr). | ||
|
|
||
| ## Does the upstream node support configuring the `FQDN`(Fully Qualified Domain Name) address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may add a hyperlink about FQDN.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
docs/en/latest/FAQ.md
Outdated
| "upstream": { | ||
| "type": "roundrobin", | ||
| "nodes": { | ||
| "localhost.localdomain.com:1980": 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a FQDN of Kubernetes Service is more vivid.
|
ping @Firstsawyou |
| ## Does the upstream node support configuring the [FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) address | ||
|
|
||
| This is supported. Here is an example where the `FQDN` is `localhost.localdomain`: | ||
| This is supported. Here is an example where the `FQDN` is `httpbin.default.svc.cluster.local`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some notes to hint readers:
This is supported. Here is an example where the FQDN is httpbin.default.svc.cluster.local (a Kubernetes Service):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to remove the repeated "Here is an example where the FQDN is httpbin.default.svc.cluster.local"
docs/zh/latest/FAQ.md
Outdated
| ## upstream 节点是否支持配置 [FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) 地址? | ||
|
|
||
| 这是支持的,下面是一个 `FQDN` 为 `httpbin.default.svc.cluster.local` 的示例: | ||
| 这是支持的,下面是一个 `FQDN` 为 `httpbin.default.svc.cluster.local`(a Kubernetes Service) 的示例: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the FAQ docs in Chinese, don't just copy and paste!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
| ## Does the upstream node support configuring the [FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) address | ||
|
|
||
| This is supported. Here is an example where the `FQDN` is `localhost.localdomain`: | ||
| This is supported. Here is an example where the `FQDN` is `httpbin.default.svc.cluster.local`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to remove the repeated "Here is an example where the FQDN is httpbin.default.svc.cluster.local"
docs/zh/latest/FAQ.md
Outdated
| ## upstream 节点是否支持配置 [FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) 地址? | ||
|
|
||
| 这是支持的,下面是一个 `FQDN` 为 `httpbin.default.svc.cluster.local`(a Kubernetes Service) 的示例: | ||
| 这是支持的,下面是一个 `FQDN` 为 `httpbin.default.svc.cluster.local`(Kubernetes 的 Service) 的示例: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 这是支持的,下面是一个 `FQDN` 为 `httpbin.default.svc.cluster.local`(Kubernetes 的 Service) 的示例: | |
| 这是支持的,下面是一个 `FQDN` 为 `httpbin.default.svc.cluster.local`(一个 Kubernetes Service) 的示例: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Signed-off-by: Firstsawyou yuelinz99@gmail.com
What this PR does / why we need it:
Pre-submission checklist: