You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh/docs/concepts/storage/ephemeral-volumes.md
+23-45Lines changed: 23 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ _临时卷_ 就是为此类用例设计的。因为卷会遵从 Pod 的生命周
55
55
Ephemeral volumes are specified _inline_ in the Pod spec, which
56
56
simplifies application deployment and management.
57
57
-->
58
-
临时卷在 Pod 规范中以_内联_ 方式定义,这简化了应用程序的部署和管理。
58
+
临时卷在 Pod 规约中以_内联_ 方式定义,这简化了应用程序的部署和管理。
59
59
60
60
<!--
61
61
### Types of ephemeral volumes
@@ -211,13 +211,19 @@ instructions.
211
211
<!--
212
212
### CSI driver restrictions
213
213
214
-
As a cluster administrator, you can use a [PodSecurityPolicy](/docs/concepts/security/pod-security-policy/) to control which CSI drivers can be used in a Pod, specified with the
@@ -437,29 +430,14 @@ same namespace, so that these conflicts can't occur.
437
430
Enabling the GenericEphemeralVolume feature allows users to create
438
431
PVCs indirectly if they can create Pods, even if they do not have
439
432
permission to create PVCs directly. Cluster administrators must be
440
-
aware of this. If this does not fit their security model, they have
441
-
two choices:
433
+
aware of this. If this does not fit their security model, they should
434
+
use an [admission webhook](/docs/reference/access-authn-authz/extensible-admission-controllers/) that rejects objects like Pods that have a generic ephemeral volume.
442
435
-->
443
436
启用 GenericEphemeralVolume 特性会导致那些没有 PVCs 创建权限的用户,
444
437
在创建 Pods 时,被允许间接的创建 PVCs。
445
438
集群管理员必须意识到这一点。
446
-
如果这不符合他们的安全模型,他们有如下选择:
447
-
448
-
<!--
449
-
- Use an [admission webhook](/docs/reference/access-authn-authz/extensible-admission-controllers/)
450
-
that rejects objects like Pods that have a generic ephemeral
451
-
volume.
452
-
- Use a [Pod Security
453
-
Policy](/docs/concepts/policy/pod-security-policy/) where the
454
-
`volumes`list does not contain the `ephemeral` volume type
0 commit comments