Skip to content

Conversation

@my-git9
Copy link
Member

@my-git9 my-git9 commented Nov 22, 2025

content/zh-cn/docs/concepts/services-networking/gateway.md

Signed-off-by: xin.li <[email protected]>
@k8s-ci-robot k8s-ci-robot requested a review from asa3311 November 22, 2025 07:01
@k8s-ci-robot k8s-ci-robot added the area/localization General issues or PRs related to localization label Nov 22, 2025
@k8s-ci-robot k8s-ci-robot added the language/zh Issues or PRs related to Chinese language label Nov 22, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign xichengliudui for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 22, 2025
@netlify
Copy link

netlify bot commented Nov 22, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 465f1a4
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/69215fdbc5b0190008bb1ea6
😎 Deploy Preview https://deploy-preview-53378--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

underlying Gateway implementation. For example, defining a new GRPCRoute may result in configuring additional
traffic routes in a cloud load balancer or in-cluster proxy server.
-->
GRPCRoute 类型指定了从 Gateway 监听器到后端网络端点的 gRPC 请求路由行为。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
GRPCRoute 类型指定了从 Gateway 监听器到后端网络端点的 gRPC 请求路由行为。
GRPCRoute 类别指定从 Gateway 监听器到后端网络端点的 gRPC 请求路由行为。

traffic routes in a cloud load balancer or in-cluster proxy server.
-->
GRPCRoute 类型指定了从 Gateway 监听器到后端网络端点的 gRPC 请求路由行为。
对于服务后端,实现可以将后端网络端点表示为服务 IP 或服务的后端 EndpointSlices。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
对于服务后端,实现可以将后端网络端点表示为服务 IP 或服务的后端 EndpointSlices
对于服务后端,实现可以将后端网络端点表示为服务 IP 或服务的若干后端 EndpointSlice

See the [GRPCRoute](https://gateway-api.sigs.k8s.io/reference/spec/#grpcroute)
reference for a full definition of this API kind.
-->
在这种情况下,GRPCRoute 将匹配任何发往 svc.example.com 的流量,并应用其路由规则
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
在这种情况下,GRPCRoute 将匹配任何发往 svc.example.com 的流量,并应用其路由规则
在这种情况下,GRPCRoute 将匹配任何发往 `svc.example.com` 的流量,并应用其路由规则

reference for a full definition of this API kind.
-->
在这种情况下,GRPCRoute 将匹配任何发往 svc.example.com 的流量,并应用其路由规则
将流量转发到正确的后端。由于仅指定了一个匹配项,因此只有发往 svc.example.com 的
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
将流量转发到正确的后端。由于仅指定了一个匹配项,因此只有发往 svc.example.com 的
将流量转发到正确的后端。由于仅指定了一个匹配项,因此只有发往 `svc.example.com`

-->
在这种情况下,GRPCRoute 将匹配任何发往 svc.example.com 的流量,并应用其路由规则
将流量转发到正确的后端。由于仅指定了一个匹配项,因此只有发往 svc.example.com 的
com.example.User.Login 方法请求会被转发。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
com.example.User.Login 方法请求会被转发。
`com.example.User.Login` 方法请求会被转发。

在这种情况下,GRPCRoute 将匹配任何发往 svc.example.com 的流量,并应用其路由规则
将流量转发到正确的后端。由于仅指定了一个匹配项,因此只有发往 svc.example.com 的
com.example.User.Login 方法请求会被转发。
任何其他方法的 RPC 不会由这个 Route 匹配。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
任何其他方法的 RPC 不会由这个 Route 匹配。
所有其他 RPC 方法都不会被这个 Route 匹配。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/localization General issues or PRs related to localization cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/zh Issues or PRs related to Chinese language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants