File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
content/zh-cn/docs/tasks/configure-pod-container Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -907,12 +907,14 @@ Here is the manifest you will use:
907
907
现在,Pod 的输出包含环境变量 ` SPECIAL_LEVEL_KEY=very ` 和 ` LOG_LEVEL=INFO ` 。
908
908
909
909
<!--
910
- Once you're happy to move on, delete that Pod:
910
+ Once you're happy to move on, delete that Pod and ConfigMap :
911
911
-->
912
- 一旦你乐意继续前进,删除该 Pod:
912
+ 一旦你乐意继续前进,删除此 Pod 和 ConfigMap :
913
913
914
914
``` shell
915
915
kubectl delete pod dapi-test-pod --now
916
+ kubectl delete configmap special-config
917
+ kubectl delete configmap env-config
916
918
```
917
919
918
920
<!--
@@ -1499,13 +1501,26 @@ kubectl delete configmaps/special-config configmaps/env-config
1499
1501
kubectl delete configmap -l 'game-config in (config-4,config-5)'
1500
1502
```
1501
1503
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
+
1502
1513
<!--
1503
1514
If you created a directory `configure-pod-container` and no longer need it, you should remove that too,
1504
1515
or move it into the trash can / deleted files location.
1505
1516
-->
1506
1517
如果你创建了一个目录 ` configure-pod-container ` 并且不再需要它,你也应该删除这个目录,
1507
1518
或者将该目录移动到回收站/删除文件的位置。
1508
1519
1520
+ ``` bash
1521
+ rm -r configure-pod-container
1522
+ ```
1523
+
1509
1524
## {{% heading "whatsnext" %}}
1510
1525
1511
1526
<!--
You can’t perform that action at this time.
0 commit comments