Skip to content

Commit 2d2f883

Browse files
authored
Merge pull request #43758 from my-git9/patch-10317
[zh-cn] sync test.md tutorials/_index.md pods-and-endpoint-terminatio…
2 parents 845ccef + 176e84d commit 2d2f883

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

content/zh-cn/docs/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ source for this page).
467467
下面的示例展示如何实现这点(查看本页的 Markdown 源码):
468468

469469
```none
470-
{{</* codenew file="pods/storage/gce-volume.yaml" */>}}
470+
{{</* alert color="warning" >}}This is a warning.{{< /alert */>}}
471471
```
472472

473473
<!--

content/zh-cn/docs/tutorials/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ Kubernetes 文档的这一部分包含教程。
104104
* [Apply Pod Security Standards at Cluster level](/docs/tutorials/security/cluster-level-pss/)
105105
* [Apply Pod Security Standards at Namespace level](/docs/tutorials/security/ns-level-pss/)
106106
* [AppArmor](/zh-cn/docs/tutorials/security/apparmor/)
107-
* [seccomp](/zh-cn/docs/tutorials/security/seccomp/)
107+
* [Seccomp](/zh-cn/docs/tutorials/security/seccomp/)
108108
-->
109109
## 安全 {#security}
110110

111111
* [在集群级别应用 Pod 安全标准](/zh-cn/docs/tutorials/security/cluster-level-pss/)
112112
* [在名字空间级别应用 Pod 安全标准](/zh-cn/docs/tutorials/security/ns-level-pss/)
113113
* [AppArmor](/zh-cn/docs/tutorials/security/apparmor/)
114-
* [seccomp](/zh-cn/docs/tutorials/security/seccomp/)
114+
* [Seccomp](/zh-cn/docs/tutorials/security/seccomp/)
115115

116116
## {{% heading "whatsnext" %}}
117117

content/zh-cn/docs/tutorials/services/pods-and-endpoint-termination-flow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ Let's say you have a Deployment containing of a single `nginx` replica
6161

6262
假设你有包含单个 nginx 副本(仅用于演示目的)的一个 Deployment 和一个 Service:
6363

64-
{{% code file="service/pod-with-graceful-termination.yaml" %}}
64+
{{% code_sample file="service/pod-with-graceful-termination.yaml" %}}
6565

66-
{{% code file="service/explore-graceful-termination-nginx.yaml" %}}
66+
{{% code_sample file="service/explore-graceful-termination-nginx.yaml" %}}
6767

6868
<!--
6969
Now create the Deployment Pod and Service using the above files:

0 commit comments

Comments
 (0)