Skip to content

Commit 8afe5b0

Browse files
authored
Merge pull request #47979 from windsonsea/storacl
[zh] Sync storage/storage-classes.md
2 parents c6b5445 + daa1a8c commit 8afe5b0

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,41 @@ allowedTopologies:
495495
- us-east-2c
496496
```
497497

498+
### AWS EFS
499+
500+
<!--
501+
To configure AWS EFS storage, you can use the out-of-tree [AWS_EFS_CSI_DRIVER](https://github.com/kubernetes-sigs/aws-efs-csi-driver).
502+
-->
503+
要配置 AWS EFS 存储,你可以使用树外
504+
[AWS_EFS_CSI_DRIVER](https://github.com/kubernetes-sigs/aws-efs-csi-driver)。
505+
506+
```yaml
507+
kind: StorageClass
508+
apiVersion: storage.k8s.io/v1
509+
metadata:
510+
name: efs-sc
511+
provisioner: efs.csi.aws.com
512+
parameters:
513+
provisioningMode: efs-ap
514+
fileSystemId: fs-92107410
515+
directoryPerms: "700"
516+
```
517+
518+
<!--
519+
- `provisioningMode`: The type of volume to be provisioned by Amazon EFS. Currently, only access point based provisioning is supported (`efs-ap`).
520+
- `fileSystemId`: The file system under which the access point is created.
521+
- `directoryPerms`: The directory permissions of the root directory created by the access point.
522+
-->
523+
- `provisioningMode`:由 Amazon EFS 制备的卷类型。目前,仅支持基于访问点的制备(`efs-ap`)。
524+
- `fileSystemId`:在此文件系统下创建访问点。
525+
- `directoryPerms`:由访问点所创建的根目录的目录权限。
526+
527+
<!--
528+
For more details, refer to the [AWS_EFS_CSI_Driver Dynamic Provisioning](https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/examples/kubernetes/dynamic_provisioning/README.md) documentation.
529+
-->
530+
有关细节参阅
531+
[AWS_EFS_CSI_Driver 动态制备](https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/examples/kubernetes/dynamic_provisioning/README.md)文档。
532+
498533
### NFS
499534

500535
<!--

0 commit comments

Comments
 (0)