diff --git a/content/zh-cn/docs/test.md b/content/zh-cn/docs/test.md index ebd6b3004d..29ee6c8933 100644 --- a/content/zh-cn/docs/test.md +++ b/content/zh-cn/docs/test.md @@ -467,7 +467,7 @@ source for this page). 下面的示例展示如何实现这点(查看本页的 Markdown 源码): ```none -{{}} +{{}}This is a warning.{{< /alert */>}} ``` ## 安全 {#security} * [在集群级别应用 Pod 安全标准](/zh-cn/docs/tutorials/security/cluster-level-pss/) * [在名字空间级别应用 Pod 安全标准](/zh-cn/docs/tutorials/security/ns-level-pss/) * [AppArmor](/zh-cn/docs/tutorials/security/apparmor/) -* [seccomp](/zh-cn/docs/tutorials/security/seccomp/) +* [Seccomp](/zh-cn/docs/tutorials/security/seccomp/) ## {{% heading "whatsnext" %}} diff --git a/content/zh-cn/docs/tutorials/services/pods-and-endpoint-termination-flow.md b/content/zh-cn/docs/tutorials/services/pods-and-endpoint-termination-flow.md index 231013e9c4..42bc10fce3 100644 --- a/content/zh-cn/docs/tutorials/services/pods-and-endpoint-termination-flow.md +++ b/content/zh-cn/docs/tutorials/services/pods-and-endpoint-termination-flow.md @@ -61,9 +61,9 @@ Let's say you have a Deployment containing of a single `nginx` replica 假设你有包含单个 nginx 副本(仅用于演示目的)的一个 Deployment 和一个 Service: -{{% code file="service/pod-with-graceful-termination.yaml" %}} +{{% code_sample file="service/pod-with-graceful-termination.yaml" %}} -{{% code file="service/explore-graceful-termination-nginx.yaml" %}} +{{% code_sample file="service/explore-graceful-termination-nginx.yaml" %}}