Kubernetes CSI driver to dynamically provisions Persistent Volumes (PVs) in response to user-requested Persistent Volume Clains (PVCs). Each PV / PVC is a subdirectory on a single, cluster-wide EFS file system. Works in conjunction with the AWS EFS CSI driver.
- Create an EFS filesystem and mount targets for your cluster.
- Install the AWS EFS CSI driver with a corresponding
StorageClass
calledefs-sc
. - Build a Docker image with the Dockerfile in this repository and push it into a repository. Put the image URL into
deploy/deployment.yaml
. - Put your EFS file system IDs into
deploy/deployment.yaml
anddeploy/pv.yaml
. - (Optional) Modify the desired mount options in
deploy/pv.yaml
anddeploy/sc.yaml
(e.g. to disable TLS and IAM if not needed). - Apply the manifests:
kubectl -n kube-system apply -f deploy/
- create CI to build and push Docker image
- provide Helm chart
- potentially integrate into AWS EFS CSI driver