Skip to content

Commit 94344a6

Browse files
committed
sync ephemeral-volumes storage-classes windows-storage
1 parent 579d46e commit 94344a6

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

content/zh-cn/docs/concepts/storage/ephemeral-volumes.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ PVC 对象还保持着卷的当前状态。
375375

376376
<!--
377377
Naming of the automatically created PVCs is deterministic: the name is
378-
a combination of Pod name and volume name, with a hyphen (`-`) in the
378+
a combination of the Pod name and volume name, with a hyphen (`-`) in the
379379
middle. In the example above, the PVC name will be
380380
`my-app-scratch-volume`. This deterministic naming makes it easier to
381381
interact with the PVC because one does not have to search for it once
@@ -421,18 +421,14 @@ same namespace, so that these conflicts can't occur.
421421
### 安全 {#security}
422422

423423
<!--
424-
Enabling the GenericEphemeralVolume feature allows users to create
425-
PVCs indirectly if they can create Pods, even if they do not have
426-
permission to create PVCs directly. Cluster administrators must be
427-
aware of this. If this does not fit their security model, they should
428-
use an [admission webhook](/docs/reference/access-authn-authz/extensible-admission-controllers/)
429-
that rejects objects like Pods that have a generic ephemeral volume.
424+
Using generic ephemeral volumes allows users to create PVCs indirectly
425+
if they can create Pods, even if they do not have permission to create PVCs directly.
426+
Cluster administrators must be aware of this. If this does not fit their security model,
427+
they should use an [admission webhook](/docs/reference/access-authn-authz/extensible-admission-controllers/)
430428
-->
431-
启用 GenericEphemeralVolume 特性会有一些副作用,用户能创建 Pod 就能间接地创建 PVC,
432-
即使他们没有权限直接创建 PVC。
433-
集群管理员必须意识到这一点。
434-
如果这不符合他们的安全模型,他们应该使用[准入 Webhook](/zh-cn/docs/reference/access-authn-authz/extensible-admission-controllers/)
435-
拒绝包含通用临时卷的对象,例如 Pod。
429+
只要用户有权限创建 Pod,就可以使用通用的临时卷间接地创建持久卷申领(PVCs),
430+
即使他们没有权限直接创建 PVCs。集群管理员必须注意这一点。如果这与他们的安全模型相悖,
431+
他们应该使用[准入 Webhook](/zh-cn/docs/reference/access-authn-authz/extensible-admission-controllers/)。
436432

437433
<!--
438434
The normal [namespace quota for PVCs](/docs/concepts/policy/resource-quotas/#storage-resource-quota)

content/zh-cn/docs/concepts/storage/storage-classes.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ parameters:
395395
volumeBindingMode: WaitForFirstConsumer
396396
allowedTopologies:
397397
- matchLabelExpressions:
398-
- key: failure-domain.beta.kubernetes.io/zone
398+
- key: topology.kubernetes.io/zone
399399
values:
400400
- us-central-1a
401401
- us-central-1b
@@ -762,6 +762,15 @@ Kubernetes for vSphere 中尝试进行持久卷管理。
762762

763763
### Ceph RBD {#ceph-rbd}
764764

765+
{{< note >}}
766+
{{< feature-state state="deprecated" for_k8s_version="v1.28" >}}
767+
<!--
768+
This internal provisioner of Ceph RBD is deprecated. Please use
769+
[CephFS RBD CSI driver](https://github.com/ceph/ceph-csi).
770+
-->
771+
Ceph RBD 的内部驱动程序已被弃用。请使用 [CephFS RBD CSI驱动程序](https://github.com/ceph/ceph-csi)。
772+
{{< /note >}}
773+
765774
```yaml
766775
apiVersion: storage.k8s.io/v1
767776
kind: StorageClass

content/zh-cn/docs/concepts/storage/windows-storage.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,10 @@ The following in-tree plugins support persistent storage on Windows nodes:
120120
以下树内(In-Tree)插件支持 Windows 节点上的持久存储:
121121

122122
<!--
123-
* [`awsElasticBlockStore`](/docs/concepts/storage/volumes/#awselasticblockstore)
124-
* [`azureDisk`](/docs/concepts/storage/volumes/#azuredisk)
125123
* [`azureFile`](/docs/concepts/storage/volumes/#azurefile)
126124
* [`gcePersistentDisk`](/docs/concepts/storage/volumes/#gcepersistentdisk)
127125
* [`vsphereVolume`](/docs/concepts/storage/volumes/#vspherevolume)
128126
-->
129-
* [`awsElasticBlockStore`](/zh-cn/docs/concepts/storage/volumes/#awselasticblockstore)
130-
* [`azureDisk`](/zh-cn/docs/concepts/storage/volumes/#azuredisk)
131127
* [`azureFile`](/zh-cn/docs/concepts/storage/volumes/#azurefile)
132128
* [`gcePersistentDisk`](/zh-cn/docs/concepts/storage/volumes/#gcepersistentdisk)
133129
* [`vsphereVolume`](/zh-cn/docs/concepts/storage/volumes/#vspherevolume)

0 commit comments

Comments
 (0)