File tree Expand file tree Collapse file tree
content/zh-cn/docs/tasks/configure-pod-container Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -907,12 +907,14 @@ Here is the manifest you will use:
907907 现在,Pod 的输出包含环境变量 ` SPECIAL_LEVEL_KEY=very ` 和 ` LOG_LEVEL=INFO ` 。
908908
909909 <!--
910- Once you're happy to move on, delete that Pod:
910+ Once you're happy to move on, delete that Pod and ConfigMap :
911911 -->
912- 一旦你乐意继续前进,删除该 Pod:
912+ 一旦你乐意继续前进,删除此 Pod 和 ConfigMap :
913913
914914 ``` shell
915915 kubectl delete pod dapi-test-pod --now
916+ kubectl delete configmap special-config
917+ kubectl delete configmap env-config
916918 ```
917919
918920<!--
@@ -1499,13 +1501,26 @@ kubectl delete configmaps/special-config configmaps/env-config
14991501kubectl delete configmap -l 'game-config in (config-4,config-5)'
15001502```
15011503
1504+ <!--
1505+ Remove the `kustomization.yaml` file that you used to generate the ConfigMap:
1506+ -->
1507+ 删除用于生成 ConfigMap 的 ` kustomization.yaml ` 文件:
1508+
1509+ ``` bash
1510+ rm kustomization.yaml
1511+ ```
1512+
15021513<!--
15031514If you created a directory `configure-pod-container` and no longer need it, you should remove that too,
15041515or move it into the trash can / deleted files location.
15051516-->
15061517如果你创建了一个目录 ` configure-pod-container ` 并且不再需要它,你也应该删除这个目录,
15071518或者将该目录移动到回收站/删除文件的位置。
15081519
1520+ ``` bash
1521+ rm -r configure-pod-container
1522+ ```
1523+
15091524## {{% heading "whatsnext" %}}
15101525
15111526<!--
You can’t perform that action at this time.
0 commit comments