Skip to content

Commit f02ba13

Browse files
authored
Merge pull request #39081 from Zhuzhenghao/add_shell_code_snippet
[zh-cn] Resync cluster-level-pss.md and ns-level-pss.md
2 parents c705765 + 3cb51da commit f02ba13

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

content/zh-cn/docs/tutorials/security/cluster-level-pss.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,18 @@ following:
425425
<!--
426426
## Clean up
427427
428-
Run `kind delete cluster --name psa-with-cluster-pss` and
429-
`kind delete cluster --name psa-wo-cluster-pss` to delete the clusters you
430-
created.
428+
Now delete the clusters which you created above by running the following command:
431429
-->
432430
## 清理 {#clean-up}
433431

434-
运行 `kind delete cluster --name psa-with-cluster-pss`
435-
`kind delete cluster --name psa-wo-cluster-pss` 来删除你创建的集群。
432+
现在通过运行以下命令删除你上面创建的集群:
433+
434+
```shell
435+
kind delete cluster --name psa-with-cluster-pss
436+
```
437+
```shell
438+
kind delete cluster --name psa-wo-cluster-pss
439+
```
436440

437441
## {{% heading "whatsnext" %}}
438442

content/zh-cn/docs/tutorials/security/ns-level-pss.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: 在名字空间级别应用 Pod 安全标准
33
content_type: tutorial
4-
weight: 10
4+
weight: 20
55
---
66

77
<!--
88
title: Apply Pod Security Standards at the Namespace Level
99
content_type: tutorial
10-
weight: 10
10+
weight: 20
1111
-->
1212

1313
{{% alert title="Note" %}}
@@ -224,11 +224,15 @@ with no warnings.
224224
<!--
225225
## Clean up
226226
227-
Run `kind delete cluster --name psa-ns-level` to delete the cluster created.
227+
Now delete the cluster which you created above by running the following command:
228228
-->
229229
## 清理 {#clean-up}
230230
231-
运行 `kind delete cluster --name psa-ns-level` 删除创建的集群。
231+
现在通过运行以下命令删除你上面创建的集群:
232+
233+
```shell
234+
kind delete cluster --name psa-ns-level
235+
```
232236
233237
## {{% heading "whatsnext" %}}
234238

0 commit comments

Comments
 (0)