Skip to content

Commit 9590336

Browse files
authored
Add AWS EFS To storage-classes.md (#47928)
* Update storage-classes.md * Update storage-classes.md
1 parent 555a445 commit 9590336

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

content/en/docs/concepts/storage/storage-classes.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,27 @@ allowedTopologies:
296296
values:
297297
- us-east-2c
298298
```
299+
### AWS EFS
300+
301+
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).
302+
303+
```yaml
304+
kind: StorageClass
305+
apiVersion: storage.k8s.io/v1
306+
metadata:
307+
name: efs-sc
308+
provisioner: efs.csi.aws.com
309+
parameters:
310+
provisioningMode: efs-ap
311+
fileSystemId: fs-92107410
312+
directoryPerms: "700"
313+
```
314+
315+
- `provisioningMode`: The type of volume to be provisioned by Amazon EFS. Currently, only access point based provisioning is supported (`efs-ap`).
316+
- `fileSystemId`: The file system under which the access point is created.
317+
- `directoryPerms`: The directory permissions of the root directory created by the access point.
318+
319+
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.
299320

300321
### NFS
301322

0 commit comments

Comments
 (0)