From 176e84d55f429ef5169deaa65c9a55200c14ce35 Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Tue, 31 Oct 2023 22:05:05 +0800 Subject: [PATCH] [zh-cn] sync test.md tutorials/_index.md pods-and-endpoint-termination-flow Signed-off-by: xin.li --- content/zh-cn/docs/test.md | 2 +- content/zh-cn/docs/tutorials/_index.md | 4 ++-- .../tutorials/services/pods-and-endpoint-termination-flow.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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" %}}