Merge pull request #43758 from my-git9/patch-10317
[zh-cn] sync test.md tutorials/_index.md pods-and-endpoint-terminatio…pull/43770/head
commit
2d2f883b06
|
@ -467,7 +467,7 @@ source for this page).
|
|||
下面的示例展示如何实现这点(查看本页的 Markdown 源码):
|
||||
|
||||
```none
|
||||
{{</* codenew file="pods/storage/gce-volume.yaml" */>}}
|
||||
{{</* alert color="warning" >}}This is a warning.{{< /alert */>}}
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
|
@ -104,14 +104,14 @@ Kubernetes 文档的这一部分包含教程。
|
|||
* [Apply Pod Security Standards at Cluster level](/docs/tutorials/security/cluster-level-pss/)
|
||||
* [Apply Pod Security Standards at Namespace level](/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/)
|
||||
-->
|
||||
## 安全 {#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" %}}
|
||||
|
||||
|
|
|
@ -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" %}}
|
||||
|
||||
<!--
|
||||
Now create the Deployment Pod and Service using the above files:
|
||||
|
|
Loading…
Reference in New Issue