AmazonEFSCSIDriverPolicy
to the IAM Role and verify that the EFS filesystem policy permits access.
The AWS EFS add-on can be enabled for your Kubernetes cluster either during the cluster creation process or at any time thereafter. The following sections outline the methods for enabling the add-on:
Add-ons
, find the AWS EFS
add-on in the list of available add-ons, toggle it on, and then enter the ROLE ARN required for accessing the AWS EFS filesystem.
Edit & Apply
option.
cpln apply >_
command or through the cpln
CLI.
Kubernetes
in the left sidebar, and click on the cluster you wish to configure.Add-ons
, find the AWS EFS
add-on in the list, and toggle it on.Access management
, select Identity providers
and then click Add provider
.OpenID Connect
, paste the Provider URL
obtained in the previous step, and click Get thumbprint
.Audience
field, enter sts.amazonaws.com
.Trust Policy
of the IAM Role in your AWS Account to reflect these changes.fileSystemId
with the correct one from your account.
PersistentVolumeClaim
and Pod
in your Managed Kubernetes cluster. This example demonstrates creating a Pod that writes the current date to a file every 5 seconds, utilizing a volume backed by the AWS EFS, as configured previously.