Merge pull request #49274 from Eason1118/patch-7

[zh-cn] Update configmap.md
pull/49282/head
Kubernetes Prow Robot 2025-01-03 02:00:14 +01:00 committed by GitHub
commit e645a22e77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ nor to mutate the contents of the `data` or the `binaryData` field. You can
only delete and recreate the ConfigMap. Because existing Pods maintain a mount point
to the deleted ConfigMap, it is recommended to recreate these pods.
-->
一旦某 ConfigMap 被标记为不可变更,则 _无法_ 逆转这一变化,,也无法更改
一旦某 ConfigMap 被标记为不可变更,则 **无法** 逆转这一变化,也无法更改
`data``binaryData` 字段的内容。你只能删除并重建 ConfigMap。
因为现有的 Pod 会维护一个已被删除的 ConfigMap 的挂载点,建议重新创建这些 Pods。