Skip to content

Commit 2de4710

Browse files
authored
Merge pull request #27686 from mengjiao-liu/sync-configmap
[zh] Sync content/en/docs/concepts/configuration/configmap.md
2 parents 8bec0c8 + 8cbee31 commit 2de4710

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/zh/docs/concepts/configuration/configmap.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ When a ConfigMap currently consumed in a volume is updated, projected keys are e
349349
The kubelet checks whether the mounted ConfigMap is fresh on every periodic sync.
350350
However, the kubelet uses its local cache for getting the current value of the ConfigMap.
351351
The type of the cache is configurable using the `ConfigMapAndSecretChangeDetectionStrategy` field in
352-
the [KubeletConfiguration struct](https://github.com/kubernetes/kubernetes/blob/{{< param "docsbranch" >}}/staging/src/k8s.io/kubelet/config/v1beta1/types.go).
352+
the [KubeletConfiguration struct](/docs/reference/config-api/kubelet-config.v1beta1/).
353353
-->
354354
#### 被挂载的 ConfigMap 内容会被自动更新
355355

@@ -386,15 +386,15 @@ ConfigMaps consumed as environment variables are not updated automatically and r
386386
-->
387387
## 不可变更的 ConfigMap {#configmap-immutable}
388388

389-
{{< feature-state for_k8s_version="v1.19" state="beta" >}}
389+
{{< feature-state for_k8s_version="v1.21" state="stable" >}}
390390

391391
<!--
392-
The Kubernetes beta feature _Immutable Secrets and ConfigMaps_ provides an option to set
392+
The Kubernetes feature _Immutable Secrets and ConfigMaps_ provides an option to set
393393
individual Secrets and ConfigMaps as immutable. For clusters that extensively use ConfigMaps
394394
(at least tens of thousands of unique ConfigMap to Pod mounts), preventing changes to their
395395
data has the following advantages:
396396
-->
397-
Kubernetes Beta 特性 _不可变更的 Secret 和 ConfigMap_ 提供了一种将各个
397+
Kubernetes 特性 _不可变更的 Secret 和 ConfigMap_ 提供了一种将各个
398398
Secret 和 ConfigMap 设置为不可变更的选项。对于大量使用 ConfigMap 的
399399
集群(至少有数万个各不相同的 ConfigMap 给 Pod 挂载)而言,禁止更改
400400
ConfigMap 的数据有以下好处:

0 commit comments

Comments
 (0)