Skip to content

Commit 2aa2721

Browse files
authored
Merge pull request #45341 from asa3311/sync-zh-100
[zh] sync blogs-case-studies multiple-zones
2 parents 6d5a60c + 9761f3d commit 2aa2721

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

content/zh-cn/docs/contribute/new-content/blogs-case-studies.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ Submissions need to be in Markdown format to be used by the [Hugo](https://gohug
219219
for the blog. There are [many resources available](https://gohugo.io/documentation/) on how to use
220220
this technology stack.
221221
222+
For illustrations, diagrams or charts, the [figure shortcode](https://gohugo.io/content-management/shortcodes/#figure)
223+
can be used. For other images, we strongly encourage use of alt attributes; if an image doesn't
224+
need any alt attrribute, maybe it's not needed in the article at all.
225+
222226
We recognize that this requirement makes the process more difficult for less-familiar folks to
223227
submit, and we're constantly looking at solutions to lower this bar. If you have ideas on how to
224228
lower the barrier, please volunteer to help out.
@@ -228,6 +232,10 @@ lower the barrier, please volunteer to help out.
228232
所提交的内容应该是 Markdown 格式的,以便能够被 [Hugo](https://gohugo.io/) 生成器来处理。
229233
关于如何使用相关技术,有[很多可用的资源](https://gohugo.io/documentation/)
230234

235+
对于插图、表格或图表,可以使用 [figure shortcode](https://gohugo.io/content-management/shortcodes/#figure)
236+
对于其他图片,我们强烈建议使用 alt 属性;如果一张图片不需要任何 alt 属性,
237+
那么这张图片在文章中就不是必需的。
238+
231239
我们知道这一需求可能给那些对此过程不熟悉的朋友们带来不便,
232240
我们也一直在寻找降低难度的解决方案。
233241
如果你有降低难度的好主意,请自荐帮忙。

content/zh-cn/docs/setup/best-practices/multiple-zones.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,22 +185,26 @@ such as Deployment, StatefulSet, or Job.
185185
<!--
186186
## Storage access for zones
187187
188-
When persistent volumes are created, the `PersistentVolumeLabel`
189-
[admission controller](/docs/reference/access-authn-authz/admission-controllers/)
190-
automatically adds zone labels to any PersistentVolumes that are linked to a specific
191-
zone. The {{< glossary_tooltip text="scheduler" term_id="kube-scheduler" >}} then ensures,
188+
When persistent volumes are created, Kubernetes automatically adds zone labels
189+
to any PersistentVolumes that are linked to a specific zone.
190+
The {{< glossary_tooltip text="scheduler" term_id="kube-scheduler" >}} then ensures,
192191
through its `NoVolumeZoneConflict` predicate, that pods which claim a given PersistentVolume
193192
are only placed into the same zone as that volume.
193+
194+
Please note that the method of adding zone labels can depend on your
195+
cloud provider and the storage provisioner you’re using. Always refer to the specific
196+
documentation for your environment to ensure correct configuration.
194197
-->
195198
## 跨区的存储访问
196199

197-
当创建持久卷时,`PersistentVolumeLabel`
198-
[准入控制器](/zh-cn/docs/reference/access-authn-authz/admission-controllers/)
199-
会自动向那些链接到特定区的 PersistentVolume 添加区标签。
200+
当创建持久卷时,Kubernetes 会自动向那些链接到特定区的 PersistentVolume 添加区标签。。
200201
{{< glossary_tooltip text="调度器" term_id="kube-scheduler" >}}通过其
201202
`NoVolumeZoneConflict` 断言确保申领给定 PersistentVolume 的 Pods 只会
202203
被调度到该卷所在的可用区。
203204

205+
请注意,添加区标签的方法可能会根据你所使用的云提供商和存储制备器而有所不同。
206+
为确保配置正确,请始终参阅你的环境的特定文档。
207+
204208
<!--
205209
You can specify a {{< glossary_tooltip text="StorageClass" term_id="storage-class" >}}
206210
for PersistentVolumeClaims that specifies the failure domains (zones) that the

0 commit comments

Comments
 (0)