-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
fix the issue #20445 #21963
fix the issue #20445 #21963
Conversation
/assign tengqm |
Deploy preview for kubernetes-io-master-staging ready! Built with commit 2d31450 https://deploy-preview-21963--kubernetes-io-master-staging.netlify.app |
@TomorJM Thanks for the contribution.
|
Get it, I will supplement the missing lines and reload this PR |
Done |
@@ -1,5 +1,6 @@ | |||
--- | |||
title: Using a Service to Expose Your App | |||
<!--title: Using a Service to Expose Your App--> | |||
title: 使用 Service 暴露您的应用 | |||
weight: 10 | |||
--- |
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.
Line 1-5 above is the "front-matter" for a content page. Please treat it as a single unit rather than insert comments into it. It may prove to work after all. Just want to be cautious at structuring things. A better option:
---
title: 中文翻译
weight: 10
---
<!--
title: english title
weight: 10
-->
Note that the front-matter must appear before the comment lines just so that the parser won't break accidentally.
<!-- <li>Understand how labels and LabelSelector objects relate to a Service</li>--> | ||
<!-- <li>Expose an application outside a Kubernetes cluster using a Service</li>--> | ||
<li>了解 Kubernetes 中的 Service </li> | ||
<li>了解 标签(Label) 和 标签选择器(Label Selector) 对象如何与 Service 关联</li> |
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.
译成中文时,请尽量注意:
- 中文和英文(含数字)之间至少留一个空格;
- 尽量使用中文全角标点符号
<!-- <li>Expose an application outside a Kubernetes cluster using a Service</li>--> | ||
<li>了解 Kubernetes 中的 Service </li> | ||
<li>了解 标签(Label) 和 标签选择器(Label Selector) 对象如何与 Service 关联</li> | ||
<li>在 Kubernetes 集群外用 Service 暴露应用</li> |
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.
<li>在 Kubernetes 集群外用 Service 暴露应用</li> | |
<li>用 Service 将应用暴露到 Kubernetes 集群之外</li> |
/lgtm Just a few nits in case you want to polish it again. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zhangxiaoyu-zidif The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
translate into Chinese