{"id":17197651,"url":"https://github.com/ffoysal/efs-provisioner","last_synced_at":"2025-03-25T08:29:40.341Z","repository":{"id":85781137,"uuid":"262948402","full_name":"ffoysal/efs-provisioner","owner":"ffoysal","description":"AWS Efs provisioner for dynamic storage to be used in eks cluster","archived":false,"fork":false,"pushed_at":"2020-05-12T04:43:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T07:43:47.749Z","etag":null,"topics":["aws-efs","efs","eks"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ffoysal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-11T05:37:06.000Z","updated_at":"2020-05-12T04:43:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"d050063e-ff06-4b8f-9817-ef8ba46b8665","html_url":"https://github.com/ffoysal/efs-provisioner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffoysal%2Fefs-provisioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffoysal%2Fefs-provisioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffoysal%2Fefs-provisioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffoysal%2Fefs-provisioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ffoysal","download_url":"https://codeload.github.com/ffoysal/efs-provisioner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245425709,"owners_count":20613232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-efs","efs","eks"],"created_at":"2024-10-15T01:56:59.808Z","updated_at":"2025-03-25T08:29:40.310Z","avatar_url":"https://github.com/ffoysal.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS EFS provisioner\n\nThis will help to creat\n\n- eks cluster using [eksctl](eksctl.io)\n- deploy aws-efs provisioner using [kustomize](kustomize.io)\n- create a storage class name aws-efs into the cluster\n\n## Prerequisites:\n\ninstall following components before you start\n\n- [eksctl](eksctl.io)\n- [kustomize](kustomize.io)\n- [jq](https://stedolan.github.io/jq/)\n- [yq](https://mikefarah.gitbook.io/yq/)\n- [aws cli](https://aws.amazon.com/cli/)\n\n## All In one\n\nThe following will create eks cluster named `mycluster` in the aws region `us-east-1`. allso deploy efs provisioner and create a storage class named `aws-efs`\n\n```console\n./setup-eks-with-sc.sh mycluster us-east-1\n```\n\nThe following command will delte the eks cluster\n\n```console\n./delete-cluster mycluster us-east-1\n```\n\n## Just create EFS provisioner and storage class \n\nif you have already a cluster in eks, you should be able to create efs provisioner and storage class using `kustomize` by referencing to the [resources](./resources) directory\n\nfollow this link to setup **EFS** file system first using [EFS Creation](https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs#prerequisites)\n\nMake a place to work\n\n```console\nDEMO_HOME=$(mktemp -d)\n```\n\ncreate a patch file\n\n```console\ncat \u003c\u003cEOF \u003e$DEMO_HOME/patch.yaml\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: not-important\ndata:\n  fileSystemId: EFS_FILE_SYSTEM_ID_BEEN_CREATED_ABOVE\n  efsRegion: AWS_REGION\nEOF\n```\n\ndefine a kustomization file that specifies your patch.\n\n```console\ncat \u003c\u003cEOF \u003e$DEMO_HOME/kustomization.yaml\nresources:\n- github.com/ffoysal/efs-provisioner//resources\npatches:\n- path: patch.yaml\n  target:\n    kind: ConfigMap\n    name: efs-provisioner-configs\nEOF\n```\n\nthen run kustomize\n\n```console\nkustomize build $DEMO_HOME | kubectl apply -f -\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffoysal%2Fefs-provisioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffoysal%2Fefs-provisioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffoysal%2Fefs-provisioner/lists"}